< prev index next >

src/hotspot/share/prims/jvmtiEventController.cpp

Print this page
rev 56205 : imported patch 8226705-v1

@@ -30,10 +30,11 @@
 #include "prims/jvmtiEventController.hpp"
 #include "prims/jvmtiEventController.inline.hpp"
 #include "prims/jvmtiExport.hpp"
 #include "prims/jvmtiImpl.hpp"
 #include "prims/jvmtiThreadState.inline.hpp"
+#include "runtime/deoptimization.hpp"
 #include "runtime/frame.hpp"
 #include "runtime/thread.inline.hpp"
 #include "runtime/threadSMR.hpp"
 #include "runtime/vframe.hpp"
 #include "runtime/vframe_hp.hpp"

@@ -237,12 +238,11 @@
         ((compiledVFrame*) vf)->code()->mark_for_deoptimization();
         ++num_marked;
       }
     }
     if (num_marked > 0) {
-      VM_Deoptimize op;
-      VMThread::execute(&op);
+      Deoptimization::deoptimize_all_marked();
     }
   }
 }
 
 
< prev index next >