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(always_precise_sweeping, false, "always sweep precisely") | 518 DEFINE_BOOL(always_precise_sweeping, true, "always sweep precisely") |
519 DEFINE_BOOL(parallel_sweeping, false, "enable parallel sweeping") | 519 DEFINE_BOOL(parallel_sweeping, false, "enable parallel sweeping") |
520 DEFINE_BOOL(concurrent_sweeping, true, "enable concurrent sweeping") | 520 DEFINE_BOOL(concurrent_sweeping, true, "enable concurrent sweeping") |
521 DEFINE_INT(sweeper_threads, 0, | 521 DEFINE_INT(sweeper_threads, 0, |
522 "number of parallel and concurrent sweeping threads") | 522 "number of parallel and concurrent sweeping threads") |
523 DEFINE_BOOL(job_based_sweeping, false, "enable job based sweeping") | 523 DEFINE_BOOL(job_based_sweeping, false, "enable job based sweeping") |
524 #ifdef VERIFY_HEAP | 524 #ifdef VERIFY_HEAP |
525 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 525 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
526 #endif | 526 #endif |
527 | 527 |
528 | 528 |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
913 #undef DEFINE_ALIAS_FLOAT | 913 #undef DEFINE_ALIAS_FLOAT |
914 #undef DEFINE_ALIAS_ARGS | 914 #undef DEFINE_ALIAS_ARGS |
915 | 915 |
916 #undef FLAG_MODE_DECLARE | 916 #undef FLAG_MODE_DECLARE |
917 #undef FLAG_MODE_DEFINE | 917 #undef FLAG_MODE_DEFINE |
918 #undef FLAG_MODE_DEFINE_DEFAULTS | 918 #undef FLAG_MODE_DEFINE_DEFAULTS |
919 #undef FLAG_MODE_META | 919 #undef FLAG_MODE_META |
920 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 920 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
921 | 921 |
922 #undef COMMA | 922 #undef COMMA |
OLD | NEW |