src/share/vm/runtime/vm_operations.hpp

Print this page

        

@@ -102,10 +102,11 @@
   template(ClassLoaderStatsOperation)             \
   template(MarkActiveNMethods)                    \
   template(PrintCompileQueue)                     \
   template(PrintCodeList)                         \
   template(PrintCodeCache)                        \
+  template(PrintClassHierachry)                   \
 
 class VM_Operation: public CHeapObj<mtInternal> {
  public:
   enum Mode {
     _safepoint,       // blocking,        safepoint, vm_op C-heap allocated

@@ -453,7 +454,16 @@
   VM_PrintCodeCache(outputStream* st) : _out(st) {}
   VMOp_Type type() const { return VMOp_PrintCodeCache; }
   void doit();
 };
 
+class VM_PrintClassHierachry: public VM_Operation {
+ private:
+  outputStream* _out;
+
+ public:
+  VM_PrintClassHierachry(outputStream* st) : _out(st) {}
+  VMOp_Type type() const { return VMOp_PrintClassHierachry; }
+  void doit();
+};
 
 #endif // SHARE_VM_RUNTIME_VM_OPERATIONS_HPP