diff 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
line wrap: on
line diff
--- a/src/share/vm/oops/method.hpp	Wed Nov 05 08:35:02 2014 +0000
+++ b/src/share/vm/oops/method.hpp	Thu Oct 30 13:03:30 2014 +0100
@@ -793,6 +793,10 @@
    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);
   }