diff src/share/vm/runtime/deoptimization.hpp @ 13188:6b2d8d20ecbd

deoptimization: add helper to minimize hsx diff #resolve GRAAL-531
author Bernhard Urban <bernhard.urban@jku.at>
date Thu, 28 Nov 2013 14:12:31 +0100
parents 1dd9aa5a9ee5
children 51e97f88c771
line wrap: on
line diff
--- a/src/share/vm/runtime/deoptimization.hpp	Thu Nov 28 13:19:58 2013 +0100
+++ b/src/share/vm/runtime/deoptimization.hpp	Thu Nov 28 14:12:31 2013 +0100
@@ -124,6 +124,7 @@
   static int deoptimize_dependents();
 
   // Deoptimizes a frame lazily. nmethod gets patched deopt happens on return to the frame
+  static void deoptimize(JavaThread* thread, frame fr, RegisterMap *reg_map);
   static void deoptimize(JavaThread* thread, frame fr, RegisterMap *reg_map, DeoptReason reason);
 
   private:
@@ -264,6 +265,7 @@
   // if thread is not the current thread then execute
   // VM_DeoptimizeFrame otherwise deoptimize directly.
   static void deoptimize_frame(JavaThread* thread, intptr_t* id, DeoptReason reason);
+  static void deoptimize_frame(JavaThread* thread, intptr_t* id);
 
   // Statistics
   static void gather_statistics(DeoptReason reason, DeoptAction action,