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 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
768 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, | 768 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, |
769 "make objects embedded in optimized code weak") | 769 "make objects embedded in optimized code weak") |
770 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") | 770 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") |
771 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 771 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
772 DEFINE_BOOL(age_code, true, | 772 DEFINE_BOOL(age_code, true, |
773 "track un-executed functions to age code and flush only " | 773 "track un-executed functions to age code and flush only " |
774 "old code (required for code flushing)") | 774 "old code (required for code flushing)") |
775 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 775 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
776 DEFINE_BOOL(incremental_marking_wrappers, true, | 776 DEFINE_BOOL(incremental_marking_wrappers, true, |
777 "use incremental marking for marking wrappers") | 777 "use incremental marking for marking wrappers") |
| 778 DEFINE_BOOL(object_grouping_in_incremental_finalization, true, |
| 779 "enable object grouping in incremental finalization") |
778 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, | 780 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, |
779 "keep finalizing incremental marking as long as we discover at " | 781 "keep finalizing incremental marking as long as we discover at " |
780 "least this many unmarked objects") | 782 "least this many unmarked objects") |
781 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, | 783 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, |
782 "at most try this many times to finalize incremental marking") | 784 "at most try this many times to finalize incremental marking") |
783 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") | 785 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") |
784 DEFINE_NEG_IMPLICATION(minor_mc, incremental_marking) | 786 DEFINE_NEG_IMPLICATION(minor_mc, incremental_marking) |
785 DEFINE_BOOL(black_allocation, true, "use black allocation") | 787 DEFINE_BOOL(black_allocation, true, "use black allocation") |
786 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 788 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
787 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") | 789 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1285 #undef DEFINE_ALIAS_FLOAT | 1287 #undef DEFINE_ALIAS_FLOAT |
1286 #undef DEFINE_ALIAS_ARGS | 1288 #undef DEFINE_ALIAS_ARGS |
1287 | 1289 |
1288 #undef FLAG_MODE_DECLARE | 1290 #undef FLAG_MODE_DECLARE |
1289 #undef FLAG_MODE_DEFINE | 1291 #undef FLAG_MODE_DEFINE |
1290 #undef FLAG_MODE_DEFINE_DEFAULTS | 1292 #undef FLAG_MODE_DEFINE_DEFAULTS |
1291 #undef FLAG_MODE_META | 1293 #undef FLAG_MODE_META |
1292 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1294 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1293 | 1295 |
1294 #undef COMMA | 1296 #undef COMMA |
OLD | NEW |