| Index: src/runtime-profiler.cc
|
| diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc
|
| index 8676d8107058c3dc7559831c92db4048fa817288..95dcc4f983b12de48d1f68f6953303922bbe2f41 100644
|
| --- a/src/runtime-profiler.cc
|
| +++ b/src/runtime-profiler.cc
|
| @@ -149,7 +149,6 @@ void RuntimeProfiler::Optimize(JSFunction* function, const char* reason) {
|
| // recompilation race. This goes away as soon as OSR becomes one-shot.
|
| return;
|
| }
|
| - ASSERT(!function->IsMarkedForInstallingRecompiledCode());
|
| ASSERT(!function->IsInRecompileQueue());
|
| function->MarkForConcurrentRecompilation();
|
| } else {
|
| @@ -227,12 +226,6 @@ void RuntimeProfiler::OptimizeNow() {
|
|
|
| if (isolate_->DebuggerHasBreakPoints()) return;
|
|
|
| - if (FLAG_concurrent_recompilation) {
|
| - // Take this as opportunity to process the optimizing compiler thread's
|
| - // output queue so that it does not unnecessarily keep objects alive.
|
| - isolate_->optimizing_compiler_thread()->InstallOptimizedFunctions();
|
| - }
|
| -
|
| DisallowHeapAllocation no_gc;
|
|
|
| // Run through the JavaScript frames and collect them. If we already
|
|
|