Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8248168: [Graal] jck tests timeout in Graal with -Xcomp mode
Re-enable deadlock avoidance logic for JVMCI and Xcomp.

Reviewed-by: kvn
  • Loading branch information
Igor Veresov committed Jun 26, 2020
1 parent 2534e72 commit 1ef33e4df9ddd413246b9b46d87e44a97641c8f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
@@ -1655,7 +1655,7 @@ void CompileBroker::wait_for_completion(CompileTask* task) {
bool free_task;
#if INCLUDE_JVMCI
AbstractCompiler* comp = compiler(task->comp_level());
if (comp->is_jvmci() && !task->should_wait_for_compilation()) {
if (!UseJVMCINativeLibrary && comp->is_jvmci() && !task->should_wait_for_compilation()) {
// It may return before compilation is completed.
free_task = wait_for_jvmci_completion((JVMCICompiler*) comp, task, thread);
} else
@@ -53,7 +53,7 @@ class CompileTask : public CHeapObj<mtCompiler> {
Reason_CTW, // Compile the world
Reason_Replay, // ciReplay
Reason_Whitebox, // Whitebox API
Reason_MustBeCompiled, // Java callHelper, LinkResolver
Reason_MustBeCompiled, // Used for -Xcomp or AlwaysCompileLoopMethods (see CompilationPolicy::must_be_compiled())
Reason_Bootstrap, // JVMCI bootstrap
Reason_Count
};
@@ -140,7 +140,6 @@ class CompileTask : public CHeapObj<mtCompiler> {
case Reason_CTW:
case Reason_Replay:
case Reason_Whitebox:
case Reason_MustBeCompiled:
case Reason_Bootstrap:
return _is_blocking;
default:

0 comments on commit 1ef33e4

Please sign in to comment.