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:
Nils Eliasson 2016-04-13 14:48:22 +02:00
parent c8593eff81
commit 90d0e9a566
12 changed files with 95 additions and 46 deletions

View file

@ -85,7 +85,7 @@ void JVMCICompiler::bootstrap() {
if (!mh->is_native() && !mh->is_static() && !mh->is_initializer()) {
ResourceMark rm;
int hot_count = 10; // TODO: what's the appropriate value?
CompileBroker::compile_method(mh, InvocationEntryBci, CompLevel_full_optimization, mh, hot_count, "bootstrap", THREAD);
CompileBroker::compile_method(mh, InvocationEntryBci, CompLevel_full_optimization, mh, hot_count, CompileTask::Reason_Bootstrap, THREAD);
}
}