Mercurial > hg > graal-compiler
comparison src/share/vm/oops/method.hpp @ 20611:3c87c13918fb
8061817: Whitebox.deoptimizeMethod() does not deoptimize all OSR versions of method
Summary: Fixed Whitebox.deoptimizeMethod() to deoptimize all OSR versions of the method.
Reviewed-by: kvn, iignatyev
author | thartmann |
---|---|
date | Thu, 30 Oct 2014 13:03:30 +0100 |
parents | 966205f0e717 |
children | 600c44255e5f |
comparison
equal
deleted
inserted
replaced
20610:d4562805b030 | 20611:3c87c13918fb |
---|---|
791 // On-stack replacement support | 791 // On-stack replacement support |
792 bool has_osr_nmethod(int level, bool match_level) { | 792 bool has_osr_nmethod(int level, bool match_level) { |
793 return method_holder()->lookup_osr_nmethod(this, InvocationEntryBci, level, match_level) != NULL; | 793 return method_holder()->lookup_osr_nmethod(this, InvocationEntryBci, level, match_level) != NULL; |
794 } | 794 } |
795 | 795 |
796 int mark_osr_nmethods() { | |
797 return method_holder()->mark_osr_nmethods(this); | |
798 } | |
799 | |
796 nmethod* lookup_osr_nmethod_for(int bci, int level, bool match_level) { | 800 nmethod* lookup_osr_nmethod_for(int bci, int level, bool match_level) { |
797 return method_holder()->lookup_osr_nmethod(this, bci, level, match_level); | 801 return method_holder()->lookup_osr_nmethod(this, bci, level, match_level); |
798 } | 802 } |
799 | 803 |
800 // Inline cache support | 804 // Inline cache support |