OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
8 // | 8 // |
9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 DEFINE_bool(trace_code_flushing, false, "trace code flushing progress") | 508 DEFINE_bool(trace_code_flushing, false, "trace code flushing progress") |
509 DEFINE_bool(age_code, true, | 509 DEFINE_bool(age_code, true, |
510 "track un-executed functions to age code and flush only " | 510 "track un-executed functions to age code and flush only " |
511 "old code (required for code flushing)") | 511 "old code (required for code flushing)") |
512 DEFINE_bool(incremental_marking, true, "use incremental marking") | 512 DEFINE_bool(incremental_marking, true, "use incremental marking") |
513 DEFINE_bool(incremental_marking_steps, true, "do incremental marking steps") | 513 DEFINE_bool(incremental_marking_steps, true, "do incremental marking steps") |
514 DEFINE_bool(trace_incremental_marking, false, | 514 DEFINE_bool(trace_incremental_marking, false, |
515 "trace progress of the incremental marking") | 515 "trace progress of the incremental marking") |
516 DEFINE_bool(track_gc_object_stats, false, | 516 DEFINE_bool(track_gc_object_stats, false, |
517 "track object counts and memory usage") | 517 "track object counts and memory usage") |
518 DEFINE_bool(parallel_sweeping, false, "enable parallel sweeping") | 518 DEFINE_bool(parallel_sweeping, true, "enable parallel sweeping") |
519 DEFINE_bool(concurrent_sweeping, true, "enable concurrent sweeping") | 519 DEFINE_bool(concurrent_sweeping, false, "enable concurrent sweeping") |
520 DEFINE_int(sweeper_threads, 0, | 520 DEFINE_int(sweeper_threads, 0, |
521 "number of parallel and concurrent sweeping threads") | 521 "number of parallel and concurrent sweeping threads") |
522 DEFINE_bool(job_based_sweeping, false, "enable job based sweeping") | 522 DEFINE_bool(job_based_sweeping, false, "enable job based sweeping") |
523 #ifdef VERIFY_HEAP | 523 #ifdef VERIFY_HEAP |
524 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") | 524 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") |
525 #endif | 525 #endif |
526 | 526 |
527 | 527 |
528 // heap-snapshot-generator.cc | 528 // heap-snapshot-generator.cc |
529 DEFINE_bool(heap_profiler_trace_objects, false, | 529 DEFINE_bool(heap_profiler_trace_objects, false, |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 #undef DEFINE_ALIAS_float | 904 #undef DEFINE_ALIAS_float |
905 #undef DEFINE_ALIAS_args | 905 #undef DEFINE_ALIAS_args |
906 | 906 |
907 #undef FLAG_MODE_DECLARE | 907 #undef FLAG_MODE_DECLARE |
908 #undef FLAG_MODE_DEFINE | 908 #undef FLAG_MODE_DEFINE |
909 #undef FLAG_MODE_DEFINE_DEFAULTS | 909 #undef FLAG_MODE_DEFINE_DEFAULTS |
910 #undef FLAG_MODE_META | 910 #undef FLAG_MODE_META |
911 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 911 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
912 | 912 |
913 #undef COMMA | 913 #undef COMMA |
OLD | NEW |