mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8006613: adding reason to made_not_compilable
Reviewed-by: kvn, vlivanov
This commit is contained in:
parent
da5499f4ed
commit
014d9489bb
7 changed files with 22 additions and 15 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue