Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 661ad15ca0bab9caeefcfe6ff52b1f7d09f58597..8f5ffedc1870cca757b5fae117c1011188885976 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -310,6 +310,11 @@ DEFINE_BOOL(optimize_for_in, true, "optimize functions containing for-in loops") |
DEFINE_BOOL(concurrent_recompilation, true, |
"optimizing hot functions asynchronously on a separate thread") |
+DEFINE_BOOL(job_based_recompilation, false, |
+ "post tasks to v8::Platform instead of using a thread for " |
+ "concurrent recompilation") |
+DEFINE_IMPLICATION(job_based_recompilation, concurrent_recompilation) |
+DEFINE_NEG_IMPLICATION(job_based_recompilation, block_concurrent_recompilation) |
DEFINE_BOOL(trace_concurrent_recompilation, false, |
"track concurrent recompilation") |
DEFINE_INT(concurrent_recompilation_queue_length, 8, |