Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1724)

Side by Side Diff: src/flag-definitions.h

Issue 816363003: Implement missing functionality for job based recompilation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/optimizing-compiler-thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 "maximum number of escape analysis fix-point iterations") 349 "maximum number of escape analysis fix-point iterations")
350 350
351 DEFINE_BOOL(optimize_for_in, true, "optimize functions containing for-in loops") 351 DEFINE_BOOL(optimize_for_in, true, "optimize functions containing for-in loops")
352 352
353 DEFINE_BOOL(concurrent_recompilation, true, 353 DEFINE_BOOL(concurrent_recompilation, true,
354 "optimizing hot functions asynchronously on a separate thread") 354 "optimizing hot functions asynchronously on a separate thread")
355 DEFINE_BOOL(job_based_recompilation, false, 355 DEFINE_BOOL(job_based_recompilation, false,
356 "post tasks to v8::Platform instead of using a thread for " 356 "post tasks to v8::Platform instead of using a thread for "
357 "concurrent recompilation") 357 "concurrent recompilation")
358 DEFINE_IMPLICATION(job_based_recompilation, concurrent_recompilation) 358 DEFINE_IMPLICATION(job_based_recompilation, concurrent_recompilation)
359 DEFINE_NEG_IMPLICATION(job_based_recompilation, block_concurrent_recompilation)
360 DEFINE_BOOL(trace_concurrent_recompilation, false, 359 DEFINE_BOOL(trace_concurrent_recompilation, false,
361 "track concurrent recompilation") 360 "track concurrent recompilation")
362 DEFINE_INT(concurrent_recompilation_queue_length, 8, 361 DEFINE_INT(concurrent_recompilation_queue_length, 8,
363 "the length of the concurrent compilation queue") 362 "the length of the concurrent compilation queue")
364 DEFINE_INT(concurrent_recompilation_delay, 0, 363 DEFINE_INT(concurrent_recompilation_delay, 0,
365 "artificial compilation delay in ms") 364 "artificial compilation delay in ms")
366 DEFINE_BOOL(block_concurrent_recompilation, false, 365 DEFINE_BOOL(block_concurrent_recompilation, false,
367 "block queued jobs until released") 366 "block queued jobs until released")
368 DEFINE_BOOL(concurrent_osr, true, "concurrent on-stack replacement") 367 DEFINE_BOOL(concurrent_osr, true, "concurrent on-stack replacement")
369 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation) 368 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation)
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 #undef DEFINE_ALIAS_FLOAT 1000 #undef DEFINE_ALIAS_FLOAT
1002 #undef DEFINE_ALIAS_ARGS 1001 #undef DEFINE_ALIAS_ARGS
1003 1002
1004 #undef FLAG_MODE_DECLARE 1003 #undef FLAG_MODE_DECLARE
1005 #undef FLAG_MODE_DEFINE 1004 #undef FLAG_MODE_DEFINE
1006 #undef FLAG_MODE_DEFINE_DEFAULTS 1005 #undef FLAG_MODE_DEFINE_DEFAULTS
1007 #undef FLAG_MODE_META 1006 #undef FLAG_MODE_META
1008 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1007 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1009 1008
1010 #undef COMMA 1009 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/optimizing-compiler-thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698