--- 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);
}
}
}