Commit 5521560 Doug Simon
committed
1 parent e4329a8 commit 5521560 Copy full SHA for 5521560
File tree 1 file changed +4
-1
lines changed
src/hotspot/share/compiler
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) {
1700
1700
bool free_task;
1701
1701
#if INCLUDE_JVMCI
1702
1702
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 ()) {
1704
1704
// 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.
1705
1708
free_task = wait_for_jvmci_completion ((JVMCICompiler*) comp, task, thread);
1706
1709
} else
1707
1710
#endif
You can’t perform that action at this time.
0 commit comments