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