8006613: adding reason to made_not_compilable

Reviewed-by: kvn, vlivanov
This commit is contained in:
Igor Ignatyev 2013-02-05 08:25:51 -08:00 committed by Vladimir Ivanov
parent da5499f4ed
commit 014d9489bb
7 changed files with 22 additions and 15 deletions

View file

@ -1398,7 +1398,7 @@ bool CompileBroker::compilation_is_prohibited(methodHandle method, int osr_bci,
method->print_short_name(tty);
tty->cr();
}
method->set_not_compilable_quietly();
method->set_not_compilable(CompLevel_all, !quietly, "excluded by CompilerOracle");
}
return false;