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 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 "print mutator utilization, allocation speed, gc speed") | 647 "print mutator utilization, allocation speed, gc speed") |
648 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") | 648 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") |
649 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 649 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
650 DEFINE_BOOL(age_code, true, | 650 DEFINE_BOOL(age_code, true, |
651 "track un-executed functions to age code and flush only " | 651 "track un-executed functions to age code and flush only " |
652 "old code (required for code flushing)") | 652 "old code (required for code flushing)") |
653 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 653 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
654 DEFINE_BOOL(incremental_marking_wrappers, true, | 654 DEFINE_BOOL(incremental_marking_wrappers, true, |
655 "use incremental marking for marking wrappers") | 655 "use incremental marking for marking wrappers") |
656 DEFINE_BOOL(concurrent_marking, false, "use concurrent marking") | 656 DEFINE_BOOL(concurrent_marking, false, "use concurrent marking") |
| 657 DEFINE_BOOL(trace_concurrent_marking, false, "trace concurrent marking") |
657 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, | 658 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, |
658 "keep finalizing incremental marking as long as we discover at " | 659 "keep finalizing incremental marking as long as we discover at " |
659 "least this many unmarked objects") | 660 "least this many unmarked objects") |
660 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, | 661 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, |
661 "at most try this many times to finalize incremental marking") | 662 "at most try this many times to finalize incremental marking") |
662 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") | 663 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") |
663 DEFINE_NEG_IMPLICATION(minor_mc, page_promotion) | 664 DEFINE_NEG_IMPLICATION(minor_mc, page_promotion) |
664 DEFINE_NEG_IMPLICATION(minor_mc, flush_code) | 665 DEFINE_NEG_IMPLICATION(minor_mc, flush_code) |
665 DEFINE_BOOL(black_allocation, true, "use black allocation") | 666 DEFINE_BOOL(black_allocation, true, "use black allocation") |
666 DEFINE_BOOL(concurrent_store_buffer, true, | 667 DEFINE_BOOL(concurrent_store_buffer, true, |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1276 DEFINE_IMPLICATION(predictable, single_threaded) | 1277 DEFINE_IMPLICATION(predictable, single_threaded) |
1277 DEFINE_NEG_IMPLICATION(predictable, memory_reducer) | 1278 DEFINE_NEG_IMPLICATION(predictable, memory_reducer) |
1278 DEFINE_VALUE_IMPLICATION(single_threaded, wasm_num_compilation_tasks, 0) | 1279 DEFINE_VALUE_IMPLICATION(single_threaded, wasm_num_compilation_tasks, 0) |
1279 | 1280 |
1280 // | 1281 // |
1281 // Threading related flags. | 1282 // Threading related flags. |
1282 // | 1283 // |
1283 | 1284 |
1284 DEFINE_BOOL(single_threaded, false, "disable the use of background tasks") | 1285 DEFINE_BOOL(single_threaded, false, "disable the use of background tasks") |
1285 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_recompilation) | 1286 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_recompilation) |
| 1287 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_marking) |
1286 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_sweeping) | 1288 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_sweeping) |
1287 DEFINE_NEG_IMPLICATION(single_threaded, parallel_compaction) | 1289 DEFINE_NEG_IMPLICATION(single_threaded, parallel_compaction) |
1288 DEFINE_NEG_IMPLICATION(single_threaded, parallel_pointer_update) | 1290 DEFINE_NEG_IMPLICATION(single_threaded, parallel_pointer_update) |
1289 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_store_buffer) | 1291 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_store_buffer) |
1290 DEFINE_NEG_IMPLICATION(single_threaded, compiler_dispatcher) | 1292 DEFINE_NEG_IMPLICATION(single_threaded, compiler_dispatcher) |
1291 | 1293 |
1292 #undef FLAG | 1294 #undef FLAG |
1293 | 1295 |
1294 #ifdef VERIFY_PREDICTABLE | 1296 #ifdef VERIFY_PREDICTABLE |
1295 #define FLAG FLAG_FULL | 1297 #define FLAG FLAG_FULL |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1338 #undef DEFINE_ALIAS_FLOAT | 1340 #undef DEFINE_ALIAS_FLOAT |
1339 #undef DEFINE_ALIAS_ARGS | 1341 #undef DEFINE_ALIAS_ARGS |
1340 | 1342 |
1341 #undef FLAG_MODE_DECLARE | 1343 #undef FLAG_MODE_DECLARE |
1342 #undef FLAG_MODE_DEFINE | 1344 #undef FLAG_MODE_DEFINE |
1343 #undef FLAG_MODE_DEFINE_DEFAULTS | 1345 #undef FLAG_MODE_DEFINE_DEFAULTS |
1344 #undef FLAG_MODE_META | 1346 #undef FLAG_MODE_META |
1345 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1347 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1346 | 1348 |
1347 #undef COMMA | 1349 #undef COMMA |
OLD | NEW |