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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 "track un-executed functions to age code and flush only " | 720 "track un-executed functions to age code and flush only " |
721 "old code (required for code flushing)") | 721 "old code (required for code flushing)") |
722 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 722 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
723 DEFINE_BOOL(incremental_marking_wrappers, false, | 723 DEFINE_BOOL(incremental_marking_wrappers, false, |
724 "use incremental marking for marking wrappers") | 724 "use incremental marking for marking wrappers") |
725 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, | 725 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, |
726 "keep finalizing incremental marking as long as we discover at " | 726 "keep finalizing incremental marking as long as we discover at " |
727 "least this many unmarked objects") | 727 "least this many unmarked objects") |
728 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, | 728 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, |
729 "at most try this many times to finalize incremental marking") | 729 "at most try this many times to finalize incremental marking") |
| 730 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") |
| 731 DEFINE_NEG_IMPLICATION(minor_mc, incremental_marking) |
730 DEFINE_BOOL(black_allocation, false, "use black allocation") | 732 DEFINE_BOOL(black_allocation, false, "use black allocation") |
731 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 733 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
732 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") | 734 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") |
733 DEFINE_BOOL(parallel_pointer_update, true, | 735 DEFINE_BOOL(parallel_pointer_update, true, |
734 "use parallel pointer update during compaction") | 736 "use parallel pointer update during compaction") |
735 DEFINE_BOOL(trace_incremental_marking, false, | 737 DEFINE_BOOL(trace_incremental_marking, false, |
736 "trace progress of the incremental marking") | 738 "trace progress of the incremental marking") |
737 DEFINE_BOOL(track_gc_object_stats, false, | 739 DEFINE_BOOL(track_gc_object_stats, false, |
738 "track object counts and memory usage") | 740 "track object counts and memory usage") |
739 DEFINE_BOOL(trace_gc_object_stats, false, | 741 DEFINE_BOOL(trace_gc_object_stats, false, |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1216 #undef DEFINE_ALIAS_FLOAT | 1218 #undef DEFINE_ALIAS_FLOAT |
1217 #undef DEFINE_ALIAS_ARGS | 1219 #undef DEFINE_ALIAS_ARGS |
1218 | 1220 |
1219 #undef FLAG_MODE_DECLARE | 1221 #undef FLAG_MODE_DECLARE |
1220 #undef FLAG_MODE_DEFINE | 1222 #undef FLAG_MODE_DEFINE |
1221 #undef FLAG_MODE_DEFINE_DEFAULTS | 1223 #undef FLAG_MODE_DEFINE_DEFAULTS |
1222 #undef FLAG_MODE_META | 1224 #undef FLAG_MODE_META |
1223 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1225 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1224 | 1226 |
1225 #undef COMMA | 1227 #undef COMMA |
OLD | NEW |