245 static Thread * shutdown_thread() { return _shutdown_thread; }
246 static void block_if_vm_exited() {
247 if (_vm_exited) {
248 wait_if_vm_exited();
249 }
250 }
251 VMOp_Type type() const { return VMOp_Exit; }
252 void doit();
253 };
254
255 class VM_PrintCompileQueue: public VM_Operation {
256 private:
257 outputStream* _out;
258
259 public:
260 VM_PrintCompileQueue(outputStream* st) : _out(st) {}
261 VMOp_Type type() const { return VMOp_PrintCompileQueue; }
262 void doit();
263 };
264
265 #if INCLUDE_SERVICES
266 class VM_PrintClassHierarchy: public VM_Operation {
267 private:
268 outputStream* _out;
269 bool _print_interfaces;
270 bool _print_subclasses;
271 char* _classname;
272
273 public:
274 VM_PrintClassHierarchy(outputStream* st, bool print_interfaces, bool print_subclasses, char* classname) :
275 _out(st), _print_interfaces(print_interfaces), _print_subclasses(print_subclasses),
276 _classname(classname) {}
277 VMOp_Type type() const { return VMOp_PrintClassHierarchy; }
278 void doit();
279 };
280 #endif // INCLUDE_SERVICES
281
282 #endif // SHARE_RUNTIME_VMOPERATIONS_HPP
|
245 static Thread * shutdown_thread() { return _shutdown_thread; }
246 static void block_if_vm_exited() {
247 if (_vm_exited) {
248 wait_if_vm_exited();
249 }
250 }
251 VMOp_Type type() const { return VMOp_Exit; }
252 void doit();
253 };
254
255 class VM_PrintCompileQueue: public VM_Operation {
256 private:
257 outputStream* _out;
258
259 public:
260 VM_PrintCompileQueue(outputStream* st) : _out(st) {}
261 VMOp_Type type() const { return VMOp_PrintCompileQueue; }
262 void doit();
263 };
264
265 class VM_PrintClassLayout: public VM_Operation {
266 private:
267 outputStream* _out;
268 char* _class_name;
269 public:
270 VM_PrintClassLayout(outputStream* st, char* class_name): _out(st), _class_name(class_name) {}
271 VMOp_Type type() const { return VMOp_PrintClassHierarchy; }
272 void doit();
273 };
274
275 #if INCLUDE_SERVICES
276 class VM_PrintClassHierarchy: public VM_Operation {
277 private:
278 outputStream* _out;
279 bool _print_interfaces;
280 bool _print_subclasses;
281 char* _classname;
282
283 public:
284 VM_PrintClassHierarchy(outputStream* st, bool print_interfaces, bool print_subclasses, char* classname) :
285 _out(st), _print_interfaces(print_interfaces), _print_subclasses(print_subclasses),
286 _classname(classname) {}
287 VMOp_Type type() const { return VMOp_PrintClassHierarchy; }
288 void doit();
289 };
290 #endif // INCLUDE_SERVICES
291
292 #endif // SHARE_RUNTIME_VMOPERATIONS_HPP
|