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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 513 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
514 DEFINE_BOOL(age_code, true, | 514 DEFINE_BOOL(age_code, true, |
515 "track un-executed functions to age code and flush only " | 515 "track un-executed functions to age code and flush only " |
516 "old code (required for code flushing)") | 516 "old code (required for code flushing)") |
517 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 517 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
518 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") | 518 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") |
519 DEFINE_BOOL(trace_incremental_marking, false, | 519 DEFINE_BOOL(trace_incremental_marking, false, |
520 "trace progress of the incremental marking") | 520 "trace progress of the incremental marking") |
521 DEFINE_BOOL(track_gc_object_stats, false, | 521 DEFINE_BOOL(track_gc_object_stats, false, |
522 "track object counts and memory usage") | 522 "track object counts and memory usage") |
| 523 DEFINE_BOOL(always_precise_sweeping, false, "always sweep precisely") |
523 DEFINE_BOOL(parallel_sweeping, false, "enable parallel sweeping") | 524 DEFINE_BOOL(parallel_sweeping, false, "enable parallel sweeping") |
524 DEFINE_BOOL(concurrent_sweeping, true, "enable concurrent sweeping") | 525 DEFINE_BOOL(concurrent_sweeping, true, "enable concurrent sweeping") |
525 DEFINE_INT(sweeper_threads, 0, | 526 DEFINE_INT(sweeper_threads, 0, |
526 "number of parallel and concurrent sweeping threads") | 527 "number of parallel and concurrent sweeping threads") |
527 DEFINE_BOOL(job_based_sweeping, false, "enable job based sweeping") | 528 DEFINE_BOOL(job_based_sweeping, false, "enable job based sweeping") |
528 #ifdef VERIFY_HEAP | 529 #ifdef VERIFY_HEAP |
529 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 530 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
530 #endif | 531 #endif |
531 | 532 |
532 | 533 |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 #undef DEFINE_ALIAS_FLOAT | 918 #undef DEFINE_ALIAS_FLOAT |
918 #undef DEFINE_ALIAS_ARGS | 919 #undef DEFINE_ALIAS_ARGS |
919 | 920 |
920 #undef FLAG_MODE_DECLARE | 921 #undef FLAG_MODE_DECLARE |
921 #undef FLAG_MODE_DEFINE | 922 #undef FLAG_MODE_DEFINE |
922 #undef FLAG_MODE_DEFINE_DEFAULTS | 923 #undef FLAG_MODE_DEFINE_DEFAULTS |
923 #undef FLAG_MODE_META | 924 #undef FLAG_MODE_META |
924 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 925 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
925 | 926 |
926 #undef COMMA | 927 #undef COMMA |
OLD | NEW |