mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8061817: Whitebox.deoptimizeMethod() does not deoptimize all OSR versions of method
Fixed Whitebox.deoptimizeMethod() to deoptimize all OSR versions of the method. Reviewed-by: kvn, iignatyev
This commit is contained in:
parent
8aa05f7690
commit
fe1762fbd6
5 changed files with 119 additions and 12 deletions
|
@ -813,6 +813,10 @@ class Method : public Metadata {
|
|||
return method_holder()->lookup_osr_nmethod(this, InvocationEntryBci, level, match_level) != NULL;
|
||||
}
|
||||
|
||||
int mark_osr_nmethods() {
|
||||
return method_holder()->mark_osr_nmethods(this);
|
||||
}
|
||||
|
||||
nmethod* lookup_osr_nmethod_for(int bci, int level, bool match_level) {
|
||||
return method_holder()->lookup_osr_nmethod(this, bci, level, match_level);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue