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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 "old code (required for code flushing)") | 667 "old code (required for code flushing)") |
668 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 668 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
669 DEFINE_BOOL(finalize_marking_incrementally, true, | 669 DEFINE_BOOL(finalize_marking_incrementally, true, |
670 "finalize marking in incremental steps") | 670 "finalize marking in incremental steps") |
671 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, | 671 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, |
672 "keep finalizing incremental marking as long as we discover at " | 672 "keep finalizing incremental marking as long as we discover at " |
673 "least this many unmarked objects") | 673 "least this many unmarked objects") |
674 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, | 674 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, |
675 "at most try this many times to finalize incremental marking") | 675 "at most try this many times to finalize incremental marking") |
676 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 676 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
677 DEFINE_BOOL(parallel_compaction, false, "use parallel compaction") | 677 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") |
678 DEFINE_BOOL(trace_incremental_marking, false, | 678 DEFINE_BOOL(trace_incremental_marking, false, |
679 "trace progress of the incremental marking") | 679 "trace progress of the incremental marking") |
680 DEFINE_BOOL(track_gc_object_stats, false, | 680 DEFINE_BOOL(track_gc_object_stats, false, |
681 "track object counts and memory usage") | 681 "track object counts and memory usage") |
682 DEFINE_BOOL(trace_gc_object_stats, false, | 682 DEFINE_BOOL(trace_gc_object_stats, false, |
683 "trace object counts and memory usage") | 683 "trace object counts and memory usage") |
684 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) | 684 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) |
685 DEFINE_BOOL(track_detached_contexts, true, | 685 DEFINE_BOOL(track_detached_contexts, true, |
686 "track native contexts that are expected to be garbage collected") | 686 "track native contexts that are expected to be garbage collected") |
687 DEFINE_BOOL(trace_detached_contexts, false, | 687 DEFINE_BOOL(trace_detached_contexts, false, |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1120 #undef DEFINE_ALIAS_FLOAT | 1120 #undef DEFINE_ALIAS_FLOAT |
1121 #undef DEFINE_ALIAS_ARGS | 1121 #undef DEFINE_ALIAS_ARGS |
1122 | 1122 |
1123 #undef FLAG_MODE_DECLARE | 1123 #undef FLAG_MODE_DECLARE |
1124 #undef FLAG_MODE_DEFINE | 1124 #undef FLAG_MODE_DEFINE |
1125 #undef FLAG_MODE_DEFINE_DEFAULTS | 1125 #undef FLAG_MODE_DEFINE_DEFAULTS |
1126 #undef FLAG_MODE_META | 1126 #undef FLAG_MODE_META |
1127 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1127 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1128 | 1128 |
1129 #undef COMMA | 1129 #undef COMMA |
OLD | NEW |