| 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 "print mutator utilization, allocation speed, gc speed") | 641 "print mutator utilization, allocation speed, gc speed") |
| 642 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") | 642 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") |
| 643 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 643 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
| 644 DEFINE_BOOL(age_code, true, | 644 DEFINE_BOOL(age_code, true, |
| 645 "track un-executed functions to age code and flush only " | 645 "track un-executed functions to age code and flush only " |
| 646 "old code (required for code flushing)") | 646 "old code (required for code flushing)") |
| 647 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 647 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
| 648 DEFINE_BOOL(incremental_marking_wrappers, true, | 648 DEFINE_BOOL(incremental_marking_wrappers, true, |
| 649 "use incremental marking for marking wrappers") | 649 "use incremental marking for marking wrappers") |
| 650 DEFINE_BOOL(concurrent_marking, false, "use concurrent marking") | 650 DEFINE_BOOL(concurrent_marking, false, "use concurrent marking") |
| 651 DEFINE_BOOL(trace_concurrent_marking, false, "trace concurrent marking") |
| 651 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, | 652 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, |
| 652 "keep finalizing incremental marking as long as we discover at " | 653 "keep finalizing incremental marking as long as we discover at " |
| 653 "least this many unmarked objects") | 654 "least this many unmarked objects") |
| 654 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, | 655 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, |
| 655 "at most try this many times to finalize incremental marking") | 656 "at most try this many times to finalize incremental marking") |
| 656 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") | 657 DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs") |
| 657 DEFINE_BOOL(black_allocation, true, "use black allocation") | 658 DEFINE_BOOL(black_allocation, true, "use black allocation") |
| 658 DEFINE_BOOL(concurrent_store_buffer, true, | 659 DEFINE_BOOL(concurrent_store_buffer, true, |
| 659 "use concurrent store buffer processing") | 660 "use concurrent store buffer processing") |
| 660 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 661 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
| (...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1249 DEFINE_IMPLICATION(predictable, single_threaded) | 1250 DEFINE_IMPLICATION(predictable, single_threaded) |
| 1250 DEFINE_NEG_IMPLICATION(predictable, memory_reducer) | 1251 DEFINE_NEG_IMPLICATION(predictable, memory_reducer) |
| 1251 DEFINE_VALUE_IMPLICATION(single_threaded, wasm_num_compilation_tasks, 0) | 1252 DEFINE_VALUE_IMPLICATION(single_threaded, wasm_num_compilation_tasks, 0) |
| 1252 | 1253 |
| 1253 // | 1254 // |
| 1254 // Threading related flags. | 1255 // Threading related flags. |
| 1255 // | 1256 // |
| 1256 | 1257 |
| 1257 DEFINE_BOOL(single_threaded, false, "disable the use of background tasks") | 1258 DEFINE_BOOL(single_threaded, false, "disable the use of background tasks") |
| 1258 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_recompilation) | 1259 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_recompilation) |
| 1260 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_marking) |
| 1259 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_sweeping) | 1261 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_sweeping) |
| 1260 DEFINE_NEG_IMPLICATION(single_threaded, parallel_compaction) | 1262 DEFINE_NEG_IMPLICATION(single_threaded, parallel_compaction) |
| 1261 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_store_buffer) | 1263 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_store_buffer) |
| 1262 | 1264 |
| 1263 #undef FLAG | 1265 #undef FLAG |
| 1264 | 1266 |
| 1265 #ifdef VERIFY_PREDICTABLE | 1267 #ifdef VERIFY_PREDICTABLE |
| 1266 #define FLAG FLAG_FULL | 1268 #define FLAG FLAG_FULL |
| 1267 #else | 1269 #else |
| 1268 #define FLAG FLAG_READONLY | 1270 #define FLAG FLAG_READONLY |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1309 #undef DEFINE_ALIAS_FLOAT | 1311 #undef DEFINE_ALIAS_FLOAT |
| 1310 #undef DEFINE_ALIAS_ARGS | 1312 #undef DEFINE_ALIAS_ARGS |
| 1311 | 1313 |
| 1312 #undef FLAG_MODE_DECLARE | 1314 #undef FLAG_MODE_DECLARE |
| 1313 #undef FLAG_MODE_DEFINE | 1315 #undef FLAG_MODE_DEFINE |
| 1314 #undef FLAG_MODE_DEFINE_DEFAULTS | 1316 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1315 #undef FLAG_MODE_META | 1317 #undef FLAG_MODE_META |
| 1316 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1318 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1317 | 1319 |
| 1318 #undef COMMA | 1320 #undef COMMA |
| OLD | NEW |