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 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 "old code (required for code flushing)") | 656 "old code (required for code flushing)") |
657 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 657 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
658 DEFINE_BOOL(overapproximate_weak_closure, true, | 658 DEFINE_BOOL(overapproximate_weak_closure, true, |
659 "overapproximate weak closer to reduce atomic pause time") | 659 "overapproximate weak closer to reduce atomic pause time") |
660 DEFINE_INT(min_progress_during_object_groups_marking, 128, | 660 DEFINE_INT(min_progress_during_object_groups_marking, 128, |
661 "keep overapproximating the weak closure as long as we discover at " | 661 "keep overapproximating the weak closure as long as we discover at " |
662 "least this many unmarked objects") | 662 "least this many unmarked objects") |
663 DEFINE_INT(max_object_groups_marking_rounds, 3, | 663 DEFINE_INT(max_object_groups_marking_rounds, 3, |
664 "at most try this many times to over approximate the weak closure") | 664 "at most try this many times to over approximate the weak closure") |
665 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 665 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
666 DEFINE_BOOL(parallel_compaction, false, "use parallel compaction") | 666 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") |
667 DEFINE_BOOL(trace_incremental_marking, false, | 667 DEFINE_BOOL(trace_incremental_marking, false, |
668 "trace progress of the incremental marking") | 668 "trace progress of the incremental marking") |
669 DEFINE_BOOL(track_gc_object_stats, false, | 669 DEFINE_BOOL(track_gc_object_stats, false, |
670 "track object counts and memory usage") | 670 "track object counts and memory usage") |
671 DEFINE_BOOL(trace_gc_object_stats, false, | 671 DEFINE_BOOL(trace_gc_object_stats, false, |
672 "trace object counts and memory usage") | 672 "trace object counts and memory usage") |
673 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) | 673 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) |
674 DEFINE_BOOL(track_detached_contexts, true, | 674 DEFINE_BOOL(track_detached_contexts, true, |
675 "track native contexts that are expected to be garbage collected") | 675 "track native contexts that are expected to be garbage collected") |
676 DEFINE_BOOL(trace_detached_contexts, false, | 676 DEFINE_BOOL(trace_detached_contexts, false, |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1104 #undef DEFINE_ALIAS_FLOAT | 1104 #undef DEFINE_ALIAS_FLOAT |
1105 #undef DEFINE_ALIAS_ARGS | 1105 #undef DEFINE_ALIAS_ARGS |
1106 | 1106 |
1107 #undef FLAG_MODE_DECLARE | 1107 #undef FLAG_MODE_DECLARE |
1108 #undef FLAG_MODE_DEFINE | 1108 #undef FLAG_MODE_DEFINE |
1109 #undef FLAG_MODE_DEFINE_DEFAULTS | 1109 #undef FLAG_MODE_DEFINE_DEFAULTS |
1110 #undef FLAG_MODE_META | 1110 #undef FLAG_MODE_META |
1111 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1111 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1112 | 1112 |
1113 #undef COMMA | 1113 #undef COMMA |
OLD | NEW |