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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 DEFINE_BOOL(inline_construct, true, "inline constructor calls") | 357 DEFINE_BOOL(inline_construct, true, "inline constructor calls") |
358 DEFINE_BOOL(inline_arguments, true, "inline functions with arguments object") | 358 DEFINE_BOOL(inline_arguments, true, "inline functions with arguments object") |
359 DEFINE_BOOL(inline_accessors, true, "inline JavaScript accessors") | 359 DEFINE_BOOL(inline_accessors, true, "inline JavaScript accessors") |
360 DEFINE_INT(escape_analysis_iterations, 2, | 360 DEFINE_INT(escape_analysis_iterations, 2, |
361 "maximum number of escape analysis fix-point iterations") | 361 "maximum number of escape analysis fix-point iterations") |
362 | 362 |
363 DEFINE_BOOL(optimize_for_in, true, "optimize functions containing for-in loops") | 363 DEFINE_BOOL(optimize_for_in, true, "optimize functions containing for-in loops") |
364 | 364 |
365 DEFINE_BOOL(concurrent_recompilation, true, | 365 DEFINE_BOOL(concurrent_recompilation, true, |
366 "optimizing hot functions asynchronously on a separate thread") | 366 "optimizing hot functions asynchronously on a separate thread") |
367 DEFINE_BOOL(job_based_recompilation, true, | |
368 "post tasks to v8::Platform instead of using a thread for " | |
369 "concurrent recompilation") | |
370 DEFINE_BOOL(trace_concurrent_recompilation, false, | 367 DEFINE_BOOL(trace_concurrent_recompilation, false, |
371 "track concurrent recompilation") | 368 "track concurrent recompilation") |
372 DEFINE_INT(concurrent_recompilation_queue_length, 8, | 369 DEFINE_INT(concurrent_recompilation_queue_length, 8, |
373 "the length of the concurrent compilation queue") | 370 "the length of the concurrent compilation queue") |
374 DEFINE_INT(concurrent_recompilation_delay, 0, | 371 DEFINE_INT(concurrent_recompilation_delay, 0, |
375 "artificial compilation delay in ms") | 372 "artificial compilation delay in ms") |
376 DEFINE_BOOL(block_concurrent_recompilation, false, | 373 DEFINE_BOOL(block_concurrent_recompilation, false, |
377 "block queued jobs until released") | 374 "block queued jobs until released") |
378 DEFINE_BOOL(concurrent_osr, true, "concurrent on-stack replacement") | 375 DEFINE_BOOL(concurrent_osr, true, "concurrent on-stack replacement") |
379 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation) | 376 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation) |
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1045 #undef DEFINE_ALIAS_FLOAT | 1042 #undef DEFINE_ALIAS_FLOAT |
1046 #undef DEFINE_ALIAS_ARGS | 1043 #undef DEFINE_ALIAS_ARGS |
1047 | 1044 |
1048 #undef FLAG_MODE_DECLARE | 1045 #undef FLAG_MODE_DECLARE |
1049 #undef FLAG_MODE_DEFINE | 1046 #undef FLAG_MODE_DEFINE |
1050 #undef FLAG_MODE_DEFINE_DEFAULTS | 1047 #undef FLAG_MODE_DEFINE_DEFAULTS |
1051 #undef FLAG_MODE_META | 1048 #undef FLAG_MODE_META |
1052 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1049 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1053 | 1050 |
1054 #undef COMMA | 1051 #undef COMMA |
OLD | NEW |