File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/hotspot/share/compiler Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1700,8 +1700,11 @@ void CompileBroker::wait_for_completion(CompileTask* task) {
17001700 bool free_task;
17011701#if INCLUDE_JVMCI
17021702 AbstractCompiler* comp = compiler (task->comp_level ());
1703- if (comp->is_jvmci () && !task->should_wait_for_compilation ()) {
1703+ if (!UseJVMCINativeLibrary && comp->is_jvmci () && !task->should_wait_for_compilation ()) {
17041704 // It may return before compilation is completed.
1705+ // Note that libjvmci should not pre-emptively unblock
1706+ // a thread waiting for a compilation as it does not call
1707+ // Java code and so is not deadlock prone like jarjvmci.
17051708 free_task = wait_for_jvmci_completion ((JVMCICompiler*) comp, task, thread);
17061709 } else
17071710#endif
You can’t perform that action at this time.
0 commit comments