--- old/src/hotspot/share/runtime/vmOperations.hpp 2019-08-07 12:43:55.000000000 -0400 +++ new/src/hotspot/share/runtime/vmOperations.hpp 2019-08-07 12:43:55.000000000 -0400 @@ -127,7 +127,7 @@ template(ScavengeMonitors) \ template(PrintMetadata) \ template(GTestExecuteAtSafepoint) \ - template(VTBufferStats) \ + template(ClassPrintLayout) \ class VM_Operation: public CHeapObj { public: @@ -505,6 +505,16 @@ 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: