mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
6614597: Performance variability in jvm2008 xml.validation
Fix incorrect marking of methods as not compilable. Reviewed-by: never
This commit is contained in:
parent
4e8608a124
commit
0c27c5537e
18 changed files with 213 additions and 133 deletions
|
@ -1391,6 +1391,9 @@ public:
|
|||
}
|
||||
void inc_decompile_count() {
|
||||
_nof_decompiles += 1;
|
||||
if (decompile_count() > (uint)PerMethodRecompilationCutoff) {
|
||||
method()->set_not_compilable();
|
||||
}
|
||||
}
|
||||
|
||||
// Support for code generation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue