< prev index next >

src/hotspot/share/runtime/vmOperations.hpp

Print this page
@@ -115,10 +115,11 @@
    template(ICBufferFull)                          \
    template(ScavengeMonitors)                      \
    template(PrintMetadata)                         \
    template(GTestExecuteAtSafepoint)               \
    template(JFROldObject)                          \
+   template(ClassPrintLayout)                      \
  
  class VM_Operation : public StackObj {
   public:
    enum VMOp_Type {
      VM_OPS_DO(VM_OP_ENUM)

@@ -416,10 +417,20 @@
    VM_PrintCompileQueue(outputStream* st) : _out(st) {}
    VMOp_Type type() const { return VMOp_PrintCompileQueue; }
    void doit();
  };
  
+ class VM_PrintClassLayout: public VM_Operation {
+  private:
+   outputStream* _out;
+   char* _class_name;
+  public:
+   VM_PrintClassLayout(outputStream* st, char* class_name): _out(st), _class_name(class_name) {}
+   VMOp_Type type() const { return VMOp_PrintClassHierarchy; }
+   void doit();
+ };
+ 
  #if INCLUDE_SERVICES
  class VM_PrintClassHierarchy: public VM_Operation {
   private:
    outputStream* _out;
    bool _print_interfaces;
< prev index next >