110 template(ShenandoahDegeneratedGC) \
111 template(Exit) \
112 template(LinuxDllLoad) \
113 template(RotateGCLog) \
114 template(WhiteBoxOperation) \
115 template(JVMCIResizeCounters) \
116 template(ClassLoaderStatsOperation) \
117 template(ClassLoaderHierarchyOperation) \
118 template(DumpHashtable) \
119 template(DumpTouchedMethods) \
120 template(MarkActiveNMethods) \
121 template(PrintCompileQueue) \
122 template(PrintClassHierarchy) \
123 template(ThreadSuspend) \
124 template(ThreadsSuspendJVMTI) \
125 template(ICBufferFull) \
126 template(ScavengeMonitors) \
127 template(PrintMetadata) \
128 template(GTestExecuteAtSafepoint) \
129 template(JFROldObject) \
130
131 class VM_Operation : public StackObj {
132 public:
133 enum VMOp_Type {
134 VM_OPS_DO(VM_OP_ENUM)
135 VMOp_Terminating
136 };
137
138 private:
139 Thread* _calling_thread;
140 long _timestamp;
141 VM_Operation* _next;
142 VM_Operation* _prev;
143
144 // The VM operation name array
145 static const char* _names[];
146
147 public:
148 VM_Operation() : _calling_thread(NULL), _timestamp(0), _next(NULL), _prev(NULL) {}
149
|
110 template(ShenandoahDegeneratedGC) \
111 template(Exit) \
112 template(LinuxDllLoad) \
113 template(RotateGCLog) \
114 template(WhiteBoxOperation) \
115 template(JVMCIResizeCounters) \
116 template(ClassLoaderStatsOperation) \
117 template(ClassLoaderHierarchyOperation) \
118 template(DumpHashtable) \
119 template(DumpTouchedMethods) \
120 template(MarkActiveNMethods) \
121 template(PrintCompileQueue) \
122 template(PrintClassHierarchy) \
123 template(ThreadSuspend) \
124 template(ThreadsSuspendJVMTI) \
125 template(ICBufferFull) \
126 template(ScavengeMonitors) \
127 template(PrintMetadata) \
128 template(GTestExecuteAtSafepoint) \
129 template(JFROldObject) \
130 template(EpsilonCollect) \
131
132 class VM_Operation : public StackObj {
133 public:
134 enum VMOp_Type {
135 VM_OPS_DO(VM_OP_ENUM)
136 VMOp_Terminating
137 };
138
139 private:
140 Thread* _calling_thread;
141 long _timestamp;
142 VM_Operation* _next;
143 VM_Operation* _prev;
144
145 // The VM operation name array
146 static const char* _names[];
147
148 public:
149 VM_Operation() : _calling_thread(NULL), _timestamp(0), _next(NULL), _prev(NULL) {}
150
|