| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 3c3665ceb753e7ea64b646713a410873f251624a..0c88cae9c3151c2ceb22d0268892ca63869ed073 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -8460,7 +8460,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_GetOptimizationStatus) {
|
| }
|
| CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0);
|
| if (FLAG_parallel_recompilation && sync_with_compiler_thread) {
|
| - while (function->IsInRecompileQueue() ||
|
| + while (function->IsMarkedForParallelRecompilation() ||
|
| + function->IsInRecompileQueue() ||
|
| function->IsMarkedForInstallingRecompiledCode()) {
|
| isolate->optimizing_compiler_thread()->InstallOptimizedFunctions();
|
| OS::Sleep(50);
|
|
|