src/hotspot/share/prims/jvmtiEventController.cpp
changeset 55499 1887e16a5657
parent 55005 9b70ebd131b4
child 55608 47af68c44e02
--- a/src/hotspot/share/prims/jvmtiEventController.cpp	Mon Jun 24 18:51:54 2019 -0400
+++ b/src/hotspot/share/prims/jvmtiEventController.cpp	Mon Jun 24 22:38:17 2019 -0400
@@ -32,7 +32,6 @@
 #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"
@@ -240,7 +239,8 @@
       }
     }
     if (num_marked > 0) {
-      Deoptimization::deoptimize_all_marked();
+      VM_Deoptimize op;
+      VMThread::execute(&op);
     }
   }
 }