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 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 DEFINE_BOOL(incremental_marking_wrappers, true, | 639 DEFINE_BOOL(incremental_marking_wrappers, true, |
640 "use incremental marking for marking wrappers") | 640 "use incremental marking for marking wrappers") |
641 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, | 641 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, |
642 "keep finalizing incremental marking as long as we discover at " | 642 "keep finalizing incremental marking as long as we discover at " |
643 "least this many unmarked objects") | 643 "least this many unmarked objects") |
644 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, | 644 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, |
645 "at most try this many times to finalize incremental marking") | 645 "at most try this many times to finalize incremental marking") |
646 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") | 646 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") |
647 DEFINE_NEG_IMPLICATION(minor_mc, incremental_marking) | 647 DEFINE_NEG_IMPLICATION(minor_mc, incremental_marking) |
648 DEFINE_BOOL(black_allocation, true, "use black allocation") | 648 DEFINE_BOOL(black_allocation, true, "use black allocation") |
| 649 DEFINE_BOOL(concurrent_store_buffer, true, |
| 650 "use concurrent store buffer processing") |
649 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 651 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
650 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") | 652 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") |
651 DEFINE_BOOL(parallel_pointer_update, true, | 653 DEFINE_BOOL(parallel_pointer_update, true, |
652 "use parallel pointer update during compaction") | 654 "use parallel pointer update during compaction") |
653 DEFINE_BOOL(trace_incremental_marking, false, | 655 DEFINE_BOOL(trace_incremental_marking, false, |
654 "trace progress of the incremental marking") | 656 "trace progress of the incremental marking") |
655 DEFINE_BOOL(track_gc_object_stats, false, | 657 DEFINE_BOOL(track_gc_object_stats, false, |
656 "track object counts and memory usage") | 658 "track object counts and memory usage") |
657 DEFINE_BOOL(trace_gc_object_stats, false, | 659 DEFINE_BOOL(trace_gc_object_stats, false, |
658 "trace object counts and memory usage") | 660 "trace object counts and memory usage") |
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1240 DEFINE_VALUE_IMPLICATION(single_threaded, wasm_num_compilation_tasks, 0) | 1242 DEFINE_VALUE_IMPLICATION(single_threaded, wasm_num_compilation_tasks, 0) |
1241 | 1243 |
1242 // | 1244 // |
1243 // Threading related flags. | 1245 // Threading related flags. |
1244 // | 1246 // |
1245 | 1247 |
1246 DEFINE_BOOL(single_threaded, false, "disable the use of background tasks") | 1248 DEFINE_BOOL(single_threaded, false, "disable the use of background tasks") |
1247 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_recompilation) | 1249 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_recompilation) |
1248 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_sweeping) | 1250 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_sweeping) |
1249 DEFINE_NEG_IMPLICATION(single_threaded, parallel_compaction) | 1251 DEFINE_NEG_IMPLICATION(single_threaded, parallel_compaction) |
1250 | 1252 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_store_buffer) |
1251 | 1253 |
1252 #undef FLAG | 1254 #undef FLAG |
1253 | 1255 |
1254 #ifdef VERIFY_PREDICTABLE | 1256 #ifdef VERIFY_PREDICTABLE |
1255 #define FLAG FLAG_FULL | 1257 #define FLAG FLAG_FULL |
1256 #else | 1258 #else |
1257 #define FLAG FLAG_READONLY | 1259 #define FLAG FLAG_READONLY |
1258 #endif | 1260 #endif |
1259 | 1261 |
1260 DEFINE_BOOL(verify_predictable, false, | 1262 DEFINE_BOOL(verify_predictable, false, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1298 #undef DEFINE_ALIAS_FLOAT | 1300 #undef DEFINE_ALIAS_FLOAT |
1299 #undef DEFINE_ALIAS_ARGS | 1301 #undef DEFINE_ALIAS_ARGS |
1300 | 1302 |
1301 #undef FLAG_MODE_DECLARE | 1303 #undef FLAG_MODE_DECLARE |
1302 #undef FLAG_MODE_DEFINE | 1304 #undef FLAG_MODE_DEFINE |
1303 #undef FLAG_MODE_DEFINE_DEFAULTS | 1305 #undef FLAG_MODE_DEFINE_DEFAULTS |
1304 #undef FLAG_MODE_META | 1306 #undef FLAG_MODE_META |
1305 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1307 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1306 | 1308 |
1307 #undef COMMA | 1309 #undef COMMA |
OLD | NEW |