Lines Matching defs:option
390 const std::string option(options[i].first);
392 LOG(INFO) << "option[" << i << "]=" << option;
394 if (StartsWith(option, "-Xbootclasspath:")) {
395 parsed->boot_class_path_string_ = option.substr(strlen("-Xbootclasspath:")).data();
396 } else if (option == "-classpath" || option == "-cp") {
401 LOG(FATAL) << "Missing required class path value for " << option;
406 } else if (option == "bootclasspath") {
409 } else if (StartsWith(option, "-Ximage:")) {
410 parsed->image_ = option.substr(strlen("-Ximage:")).data();
411 } else if (StartsWith(option, "-Xcheck:jni")) {
413 } else if (StartsWith(option, "-Xrunjdwp:") || StartsWith(option, "-agentlib:jdwp=")) {
414 std::string tail(option.substr(option[1] == 'X' ? 10 : 15));
420 } else if (StartsWith(option, "-Xms")) {
421 size_t size = ParseMemoryOption(option.substr(strlen("-Xms")).c_str(), 1024);
427 LOG(FATAL) << "Failed to parse " << option;
431 } else if (StartsWith(option, "-Xmx")) {
432 size_t size = ParseMemoryOption(option.substr(strlen("-Xmx")).c_str(), 1024);
438 LOG(FATAL) << "Failed to parse " << option;
442 } else if (StartsWith(option, "-XX:HeapGrowthLimit=")) {
443 size_t size = ParseMemoryOption(option.substr(strlen("-XX:HeapGrowthLimit=")).c_str(), 1024);
449 LOG(FATAL) << "Failed to parse " << option;
453 } else if (StartsWith(option, "-XX:HeapMinFree=")) {
454 size_t size = ParseMemoryOption(option.substr(strlen("-XX:HeapMinFree=")).c_str(), 1024);
460 LOG(FATAL) << "Failed to parse " << option;
464 option, "-XX:HeapMaxFree=")) {
465 size_t size = ParseMemoryOption(option.substr(strlen("-XX:HeapMaxFree=")).c_str(), 1024);
471 LOG(FATAL) << "Failed to parse " << option;
475 } else if (StartsWith(option, "-XX:HeapTargetUtilization=")) {
476 std::istringstream iss(option.substr(strlen("-XX:HeapTargetUtilization=")));
485 LOG(FATAL) << "Invalid option '" << option << "'";
489 } else if (StartsWith(option, "-XX:ParallelGCThreads=")) {
491 ParseMemoryOption(option.substr(strlen("-XX:ParallelGCThreads=")).c_str(), 1024);
492 } else if (StartsWith(option, "-XX:ConcGCThreads=")) {
494 ParseMemoryOption(option.substr(strlen("-XX:ConcGCThreads=")).c_str(), 1024);
495 } else if (StartsWith(option, "-Xss")) {
496 size_t size = ParseMemoryOption(option.substr(strlen("-Xss")).c_str(), 1);
502 LOG(FATAL) << "Failed to parse " << option;
506 } else if (option == "-XX:LongPauseLogThreshold") {
508 ParseMemoryOption(option.substr(strlen("-XX:LongPauseLogThreshold=")).c_str(), 1024);
509 } else if (option == "-XX:LongGCLogThreshold") {
511 ParseMemoryOption(option.substr(strlen("-XX:LongGCLogThreshold")).c_str(), 1024);
512 } else if (option == "-XX:IgnoreMaxFootprint") {
514 } else if (option == "-XX:LowMemoryMode") {
516 } else if (StartsWith(option, "-D")) {
517 parsed->properties_.push_back(option.substr(strlen("-D")));
518 } else if (StartsWith(option, "-Xjnitrace:")) {
519 parsed->jni_trace_ = option.substr(strlen("-Xjnitrace:"));
520 } else if (option == "compiler") {
522 } else if (option == "-Xzygote") {
524 } else if (option == "-Xint") {
526 } else if (StartsWith(option, "-Xgc:")) {
528 Split(option.substr(strlen("-Xgc:")), ',', gc_options);
535 LOG(WARNING) << "Ignoring unknown -Xgc option: " << gc_options[i];
538 } else if (option == "-XX:+DisableExplicitGC") {
540 } else if (StartsWith(option, "-verbose:")) {
542 Split(option.substr(strlen("-verbose:")), ',', verbose_options);
567 LOG(WARNING) << "Ignoring unknown -verbose option: " << verbose_options[i];
570 } else if (StartsWith(option, "-Xjnigreflimit:")) {
572 } else if (StartsWith(option, "-Xlockprofthreshold:")) {
573 parsed->lock_profiling_threshold_ = ParseIntegerOrDie(option);
574 } else if (StartsWith(option, "-Xstacktracefile:")) {
575 parsed->stack_trace_file_ = option.substr(strlen("-Xstacktracefile:"));
576 } else if (option == "sensitiveThread") {
578 } else if (option == "vfprintf") {
581 } else if (option == "exit") {
583 } else if (option == "abort") {
585 } else if (option == "host-prefix") {
587 } else if (option == "-Xgenregmap" || option == "-Xgc:precise") {
589 } else if (option == "-Xmethod-trace") {
591 } else if (StartsWith(option, "-Xmethod-trace-file:")) {
592 parsed->method_trace_file_ = option.substr(strlen("-Xmethod-trace-file:"));
593 } else if (StartsWith(option, "-Xmethod-trace-file-size:")) {
594 parsed->method_trace_file_size_ = ParseIntegerOrDie(option);
595 } else if (option == "-Xprofile:threadcpuclock") {
597 } else if (option == "-Xprofile:wallclock") {
599 } else if (option == "-Xprofile:dualclock") {
601 } else if (option == "-compiler-filter:interpret-only") {
603 } else if (option == "-compiler-filter:space") {
605 } else if (option == "-compiler-filter:balanced") {
607 } else if (option == "-compiler-filter:speed") {
609 } else if (option == "-compiler-filter:everything") {
611 } else if (option == "-sea_ir") {
613 } else if (StartsWith(option, "-huge-method-max:")) {
614 parsed->huge_method_threshold_ = ParseIntegerOrDie(option);
615 } else if (StartsWith(option, "-large-method-max:")) {
616 parsed->large_method_threshold_ = ParseIntegerOrDie(option);
617 } else if (StartsWith(option, "-small-method-max:")) {
618 parsed->small_method_threshold_ = ParseIntegerOrDie(option);
619 } else if (StartsWith(option, "-tiny-method-max:")) {
620 parsed->tiny_method_threshold_ = ParseIntegerOrDie(option);
621 } else if (StartsWith(option, "-num-dex-methods-max:")) {
622 parsed->num_dex_methods_threshold_ = ParseIntegerOrDie(option);
626 LOG(ERROR) << "Unrecognized option " << option;