mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8153013: BlockingCompilation test times out
Task has no invocation count and get stale at once Reviewed-by: kvn, iveresov, twisti
This commit is contained in:
parent
c8593eff81
commit
90d0e9a566
12 changed files with 95 additions and 46 deletions
|
@ -646,7 +646,7 @@ bool WhiteBox::compile_method(Method* method, int comp_level, int bci, Thread* T
|
|||
return false;
|
||||
}
|
||||
methodHandle mh(THREAD, method);
|
||||
nmethod* nm = CompileBroker::compile_method(mh, bci, comp_level, mh, mh->invocation_count(), "WhiteBox", THREAD);
|
||||
nmethod* nm = CompileBroker::compile_method(mh, bci, comp_level, mh, mh->invocation_count(), CompileTask::Reason_Whitebox, THREAD);
|
||||
MutexLockerEx mu(Compile_lock);
|
||||
return (mh->queued_for_compilation() || nm != NULL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue