< prev index next >
src/hotspot/share/runtime/vmOperations.hpp
Print this page
*** 125,135 ****
template(ThreadsSuspendJVMTI) \
template(ICBufferFull) \
template(ScavengeMonitors) \
template(PrintMetadata) \
template(GTestExecuteAtSafepoint) \
! template(VTBufferStats) \
class VM_Operation: public CHeapObj<mtInternal> {
public:
enum Mode {
_safepoint, // blocking, safepoint, vm_op C-heap allocated
--- 125,135 ----
template(ThreadsSuspendJVMTI) \
template(ICBufferFull) \
template(ScavengeMonitors) \
template(PrintMetadata) \
template(GTestExecuteAtSafepoint) \
! template(ClassPrintLayout) \
class VM_Operation: public CHeapObj<mtInternal> {
public:
enum Mode {
_safepoint, // blocking, safepoint, vm_op C-heap allocated
*** 503,512 ****
--- 503,522 ----
VMOp_Type type() const { return VMOp_PrintCompileQueue; }
Mode evaluation_mode() const { return _safepoint; }
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 >