--- a/src/hotspot/share/runtime/vmOperations.hpp Mon Jun 24 16:51:23 2019 -0400
+++ b/src/hotspot/share/runtime/vmOperations.hpp Mon Jun 24 22:38:17 2019 -0400
@@ -49,6 +49,7 @@
template(ClearICs) \
template(ForceSafepoint) \
template(ForceAsyncSafepoint) \
+ template(Deoptimize) \
template(DeoptimizeFrame) \
template(DeoptimizeAll) \
template(ZombieAll) \
@@ -318,6 +319,14 @@
VM_GTestExecuteAtSafepoint() {}
};
+class VM_Deoptimize: public VM_Operation {
+ public:
+ VM_Deoptimize() {}
+ VMOp_Type type() const { return VMOp_Deoptimize; }
+ void doit();
+ bool allow_nested_vm_operations() const { return true; }
+};
+
class VM_MarkActiveNMethods: public VM_Operation {
public:
VM_MarkActiveNMethods() {}