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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 DEFINE_INT(escape_analysis_iterations, 2, | 367 DEFINE_INT(escape_analysis_iterations, 2, |
368 "maximum number of escape analysis fix-point iterations") | 368 "maximum number of escape analysis fix-point iterations") |
369 | 369 |
370 DEFINE_BOOL(optimize_for_in, true, "optimize functions containing for-in loops") | 370 DEFINE_BOOL(optimize_for_in, true, "optimize functions containing for-in loops") |
371 | 371 |
372 DEFINE_BOOL(concurrent_recompilation, true, | 372 DEFINE_BOOL(concurrent_recompilation, true, |
373 "optimizing hot functions asynchronously on a separate thread") | 373 "optimizing hot functions asynchronously on a separate thread") |
374 DEFINE_BOOL(job_based_recompilation, false, | 374 DEFINE_BOOL(job_based_recompilation, false, |
375 "post tasks to v8::Platform instead of using a thread for " | 375 "post tasks to v8::Platform instead of using a thread for " |
376 "concurrent recompilation") | 376 "concurrent recompilation") |
377 DEFINE_IMPLICATION(job_based_recompilation, concurrent_recompilation) | |
378 DEFINE_BOOL(trace_concurrent_recompilation, false, | 377 DEFINE_BOOL(trace_concurrent_recompilation, false, |
379 "track concurrent recompilation") | 378 "track concurrent recompilation") |
380 DEFINE_INT(concurrent_recompilation_queue_length, 8, | 379 DEFINE_INT(concurrent_recompilation_queue_length, 8, |
381 "the length of the concurrent compilation queue") | 380 "the length of the concurrent compilation queue") |
382 DEFINE_INT(concurrent_recompilation_delay, 0, | 381 DEFINE_INT(concurrent_recompilation_delay, 0, |
383 "artificial compilation delay in ms") | 382 "artificial compilation delay in ms") |
384 DEFINE_BOOL(block_concurrent_recompilation, false, | 383 DEFINE_BOOL(block_concurrent_recompilation, false, |
385 "block queued jobs until released") | 384 "block queued jobs until released") |
386 DEFINE_BOOL(concurrent_osr, true, "concurrent on-stack replacement") | 385 DEFINE_BOOL(concurrent_osr, true, "concurrent on-stack replacement") |
387 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation) | 386 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation) |
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1025 #undef DEFINE_ALIAS_FLOAT | 1024 #undef DEFINE_ALIAS_FLOAT |
1026 #undef DEFINE_ALIAS_ARGS | 1025 #undef DEFINE_ALIAS_ARGS |
1027 | 1026 |
1028 #undef FLAG_MODE_DECLARE | 1027 #undef FLAG_MODE_DECLARE |
1029 #undef FLAG_MODE_DEFINE | 1028 #undef FLAG_MODE_DEFINE |
1030 #undef FLAG_MODE_DEFINE_DEFAULTS | 1029 #undef FLAG_MODE_DEFINE_DEFAULTS |
1031 #undef FLAG_MODE_META | 1030 #undef FLAG_MODE_META |
1032 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1031 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1033 | 1032 |
1034 #undef COMMA | 1033 #undef COMMA |
OLD | NEW |