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

@ -1465,7 +1465,7 @@ public:
void inc_decompile_count() {
_nof_decompiles += 1;
if (decompile_count() > (uint)PerMethodRecompilationCutoff) {
method()->set_not_compilable(CompLevel_full_optimization);
method()->set_not_compilable(CompLevel_full_optimization, true, "decompile_count > PerMethodRecompilationCutoff");
}
}