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 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
653 "old code (required for code flushing)") | 653 "old code (required for code flushing)") |
654 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 654 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
655 DEFINE_BOOL(overapproximate_weak_closure, true, | 655 DEFINE_BOOL(overapproximate_weak_closure, true, |
656 "overapproximate weak closer to reduce atomic pause time") | 656 "overapproximate weak closer to reduce atomic pause time") |
657 DEFINE_INT(min_progress_during_object_groups_marking, 128, | 657 DEFINE_INT(min_progress_during_object_groups_marking, 128, |
658 "keep overapproximating the weak closure as long as we discover at " | 658 "keep overapproximating the weak closure as long as we discover at " |
659 "least this many unmarked objects") | 659 "least this many unmarked objects") |
660 DEFINE_INT(max_object_groups_marking_rounds, 3, | 660 DEFINE_INT(max_object_groups_marking_rounds, 3, |
661 "at most try this many times to over approximate the weak closure") | 661 "at most try this many times to over approximate the weak closure") |
662 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 662 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
663 DEFINE_BOOL(parallel_compaction, false, "use parallel compaction") | 663 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") |
Hannes Payer (out of office)
2015/09/23 07:26:03
This should be done in a separate cl, makes it eas
Michael Lippautz
2015/09/23 07:40:50
Sure, I only enabled it for testing on the perf bo
| |
664 DEFINE_BOOL(trace_incremental_marking, false, | 664 DEFINE_BOOL(trace_incremental_marking, false, |
665 "trace progress of the incremental marking") | 665 "trace progress of the incremental marking") |
666 DEFINE_BOOL(track_gc_object_stats, false, | 666 DEFINE_BOOL(track_gc_object_stats, false, |
667 "track object counts and memory usage") | 667 "track object counts and memory usage") |
668 DEFINE_BOOL(trace_gc_object_stats, false, | 668 DEFINE_BOOL(trace_gc_object_stats, false, |
669 "trace object counts and memory usage") | 669 "trace object counts and memory usage") |
670 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) | 670 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) |
671 DEFINE_BOOL(track_detached_contexts, true, | 671 DEFINE_BOOL(track_detached_contexts, true, |
672 "track native contexts that are expected to be garbage collected") | 672 "track native contexts that are expected to be garbage collected") |
673 DEFINE_BOOL(trace_detached_contexts, false, | 673 DEFINE_BOOL(trace_detached_contexts, false, |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1101 #undef DEFINE_ALIAS_FLOAT | 1101 #undef DEFINE_ALIAS_FLOAT |
1102 #undef DEFINE_ALIAS_ARGS | 1102 #undef DEFINE_ALIAS_ARGS |
1103 | 1103 |
1104 #undef FLAG_MODE_DECLARE | 1104 #undef FLAG_MODE_DECLARE |
1105 #undef FLAG_MODE_DEFINE | 1105 #undef FLAG_MODE_DEFINE |
1106 #undef FLAG_MODE_DEFINE_DEFAULTS | 1106 #undef FLAG_MODE_DEFINE_DEFAULTS |
1107 #undef FLAG_MODE_META | 1107 #undef FLAG_MODE_META |
1108 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1108 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1109 | 1109 |
1110 #undef COMMA | 1110 #undef COMMA |
OLD | NEW |