hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 36807 539a2817f0b4
parent 36806 b9a6883c30ee
child 36835 999bfb0219d6
child 37237 7e5787f48bae
--- a/hotspot/src/share/vm/compiler/compileBroker.cpp	Thu Mar 17 16:10:58 2016 -1000
+++ b/hotspot/src/share/vm/compiler/compileBroker.cpp	Thu Mar 17 09:50:00 2016 +0300
@@ -1170,7 +1170,8 @@
       CompilationPolicy::policy()->delay_compilation(method());
       return NULL;
     }
-    compile_method_base(method, osr_bci, comp_level, hot_method, hot_count, comment, !directive->BackgroundCompilationOption, THREAD);
+    bool is_blocking = !directive->BackgroundCompilationOption || CompileTheWorld || ReplayCompiles;
+    compile_method_base(method, osr_bci, comp_level, hot_method, hot_count, comment, is_blocking, THREAD);
   }
 
   // return requested nmethod