hotspot/src/share/vm/runtime/vm_operations.hpp
changeset 27420 04e6f914cce1
parent 26837 72a43d3841e7
child 27696 c43940b3cf78
--- a/hotspot/src/share/vm/runtime/vm_operations.hpp	Fri Oct 24 08:35:29 2014 +0200
+++ b/hotspot/src/share/vm/runtime/vm_operations.hpp	Fri Oct 24 14:25:46 2014 +0200
@@ -100,6 +100,7 @@
   template(RotateGCLog)                           \
   template(WhiteBoxOperation)                     \
   template(ClassLoaderStatsOperation)             \
+  template(MarkActiveNMethods)                    \
   template(PrintCompileQueue)                     \
   template(PrintCodeList)                         \
   template(PrintCodeCache)                        \
@@ -252,6 +253,13 @@
   bool allow_nested_vm_operations() const        { return true; }
 };
 
+class VM_MarkActiveNMethods: public VM_Operation {
+ public:
+  VM_MarkActiveNMethods() {}
+  VMOp_Type type() const                         { return VMOp_MarkActiveNMethods; }
+  void doit();
+  bool allow_nested_vm_operations() const        { return true; }
+};
 
 // Deopt helper that can deoptimize frames in threads other than the
 // current thread.  Only used through Deoptimization::deoptimize_frame.