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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") | 521 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") |
522 DEFINE_BOOL(trace_incremental_marking, false, | 522 DEFINE_BOOL(trace_incremental_marking, false, |
523 "trace progress of the incremental marking") | 523 "trace progress of the incremental marking") |
524 DEFINE_BOOL(track_gc_object_stats, false, | 524 DEFINE_BOOL(track_gc_object_stats, false, |
525 "track object counts and memory usage") | 525 "track object counts and memory usage") |
526 DEFINE_BOOL(always_precise_sweeping, true, "always sweep precisely") | 526 DEFINE_BOOL(always_precise_sweeping, true, "always sweep precisely") |
527 DEFINE_BOOL(parallel_sweeping, false, "enable parallel sweeping") | 527 DEFINE_BOOL(parallel_sweeping, false, "enable parallel sweeping") |
528 DEFINE_BOOL(concurrent_sweeping, true, "enable concurrent sweeping") | 528 DEFINE_BOOL(concurrent_sweeping, true, "enable concurrent sweeping") |
529 DEFINE_INT(sweeper_threads, 0, | 529 DEFINE_INT(sweeper_threads, 0, |
530 "number of parallel and concurrent sweeping threads") | 530 "number of parallel and concurrent sweeping threads") |
531 DEFINE_BOOL(job_based_sweeping, false, "enable job based sweeping") | 531 DEFINE_BOOL(job_based_sweeping, true, "enable job based sweeping") |
532 #ifdef VERIFY_HEAP | 532 #ifdef VERIFY_HEAP |
533 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 533 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
534 #endif | 534 #endif |
535 | 535 |
536 | 536 |
537 // heap-snapshot-generator.cc | 537 // heap-snapshot-generator.cc |
538 DEFINE_BOOL(heap_profiler_trace_objects, false, | 538 DEFINE_BOOL(heap_profiler_trace_objects, false, |
539 "Dump heap object allocations/movements/size_updates") | 539 "Dump heap object allocations/movements/size_updates") |
540 | 540 |
541 | 541 |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 #undef DEFINE_ALIAS_FLOAT | 925 #undef DEFINE_ALIAS_FLOAT |
926 #undef DEFINE_ALIAS_ARGS | 926 #undef DEFINE_ALIAS_ARGS |
927 | 927 |
928 #undef FLAG_MODE_DECLARE | 928 #undef FLAG_MODE_DECLARE |
929 #undef FLAG_MODE_DEFINE | 929 #undef FLAG_MODE_DEFINE |
930 #undef FLAG_MODE_DEFINE_DEFAULTS | 930 #undef FLAG_MODE_DEFINE_DEFAULTS |
931 #undef FLAG_MODE_META | 931 #undef FLAG_MODE_META |
932 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 932 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
933 | 933 |
934 #undef COMMA | 934 #undef COMMA |
OLD | NEW |