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 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
747 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 747 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
748 DEFINE_BOOL(incremental_marking_wrappers, true, | 748 DEFINE_BOOL(incremental_marking_wrappers, true, |
749 "use incremental marking for marking wrappers") | 749 "use incremental marking for marking wrappers") |
750 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, | 750 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, |
751 "keep finalizing incremental marking as long as we discover at " | 751 "keep finalizing incremental marking as long as we discover at " |
752 "least this many unmarked objects") | 752 "least this many unmarked objects") |
753 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, | 753 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, |
754 "at most try this many times to finalize incremental marking") | 754 "at most try this many times to finalize incremental marking") |
755 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") | 755 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") |
756 DEFINE_NEG_IMPLICATION(minor_mc, incremental_marking) | 756 DEFINE_NEG_IMPLICATION(minor_mc, incremental_marking) |
757 DEFINE_BOOL(black_allocation, true, "use black allocation") | 757 DEFINE_BOOL(black_allocation, false, "use black allocation") |
758 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 758 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
759 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") | 759 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") |
760 DEFINE_BOOL(parallel_pointer_update, true, | 760 DEFINE_BOOL(parallel_pointer_update, true, |
761 "use parallel pointer update during compaction") | 761 "use parallel pointer update during compaction") |
762 DEFINE_BOOL(trace_incremental_marking, false, | 762 DEFINE_BOOL(trace_incremental_marking, false, |
763 "trace progress of the incremental marking") | 763 "trace progress of the incremental marking") |
764 DEFINE_BOOL(track_gc_object_stats, false, | 764 DEFINE_BOOL(track_gc_object_stats, false, |
765 "track object counts and memory usage") | 765 "track object counts and memory usage") |
766 DEFINE_BOOL(trace_gc_object_stats, false, | 766 DEFINE_BOOL(trace_gc_object_stats, false, |
767 "trace object counts and memory usage") | 767 "trace object counts and memory usage") |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1256 #undef DEFINE_ALIAS_FLOAT | 1256 #undef DEFINE_ALIAS_FLOAT |
1257 #undef DEFINE_ALIAS_ARGS | 1257 #undef DEFINE_ALIAS_ARGS |
1258 | 1258 |
1259 #undef FLAG_MODE_DECLARE | 1259 #undef FLAG_MODE_DECLARE |
1260 #undef FLAG_MODE_DEFINE | 1260 #undef FLAG_MODE_DEFINE |
1261 #undef FLAG_MODE_DEFINE_DEFAULTS | 1261 #undef FLAG_MODE_DEFINE_DEFAULTS |
1262 #undef FLAG_MODE_META | 1262 #undef FLAG_MODE_META |
1263 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1263 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1264 | 1264 |
1265 #undef COMMA | 1265 #undef COMMA |
OLD | NEW |