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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 519 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
520 DEFINE_BOOL(age_code, true, | 520 DEFINE_BOOL(age_code, true, |
521 "track un-executed functions to age code and flush only " | 521 "track un-executed functions to age code and flush only " |
522 "old code (required for code flushing)") | 522 "old code (required for code flushing)") |
523 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 523 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
524 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") | 524 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") |
525 DEFINE_BOOL(trace_incremental_marking, false, | 525 DEFINE_BOOL(trace_incremental_marking, false, |
526 "trace progress of the incremental marking") | 526 "trace progress of the incremental marking") |
527 DEFINE_BOOL(track_gc_object_stats, false, | 527 DEFINE_BOOL(track_gc_object_stats, false, |
528 "track object counts and memory usage") | 528 "track object counts and memory usage") |
529 DEFINE_BOOL(always_precise_sweeping, true, "always sweep precisely") | |
530 DEFINE_BOOL(parallel_sweeping, false, "enable parallel sweeping") | 529 DEFINE_BOOL(parallel_sweeping, false, "enable parallel sweeping") |
531 DEFINE_BOOL(concurrent_sweeping, true, "enable concurrent sweeping") | 530 DEFINE_BOOL(concurrent_sweeping, true, "enable concurrent sweeping") |
532 DEFINE_INT(sweeper_threads, 0, | 531 DEFINE_INT(sweeper_threads, 0, |
533 "number of parallel and concurrent sweeping threads") | 532 "number of parallel and concurrent sweeping threads") |
534 DEFINE_BOOL(job_based_sweeping, false, "enable job based sweeping") | 533 DEFINE_BOOL(job_based_sweeping, false, "enable job based sweeping") |
535 #ifdef VERIFY_HEAP | 534 #ifdef VERIFY_HEAP |
536 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 535 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
537 #endif | 536 #endif |
538 | 537 |
539 | 538 |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 #undef DEFINE_ALIAS_FLOAT | 927 #undef DEFINE_ALIAS_FLOAT |
929 #undef DEFINE_ALIAS_ARGS | 928 #undef DEFINE_ALIAS_ARGS |
930 | 929 |
931 #undef FLAG_MODE_DECLARE | 930 #undef FLAG_MODE_DECLARE |
932 #undef FLAG_MODE_DEFINE | 931 #undef FLAG_MODE_DEFINE |
933 #undef FLAG_MODE_DEFINE_DEFAULTS | 932 #undef FLAG_MODE_DEFINE_DEFAULTS |
934 #undef FLAG_MODE_META | 933 #undef FLAG_MODE_META |
935 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 934 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
936 | 935 |
937 #undef COMMA | 936 #undef COMMA |
OLD | NEW |