257 static Thread * shutdown_thread() { return _shutdown_thread; }
258 static void block_if_vm_exited() {
259 if (_vm_exited) {
260 wait_if_vm_exited();
261 }
262 }
263 VMOp_Type type() const { return VMOp_Exit; }
264 void doit();
265 };
266
267 class VM_PrintCompileQueue: public VM_Operation {
268 private:
269 outputStream* _out;
270
271 public:
272 VM_PrintCompileQueue(outputStream* st) : _out(st) {}
273 VMOp_Type type() const { return VMOp_PrintCompileQueue; }
274 void doit();
275 };
276
277 #if INCLUDE_SERVICES
278 class VM_PrintClassHierarchy: public VM_Operation {
279 private:
280 outputStream* _out;
281 bool _print_interfaces;
282 bool _print_subclasses;
283 char* _classname;
284
285 public:
286 VM_PrintClassHierarchy(outputStream* st, bool print_interfaces, bool print_subclasses, char* classname) :
287 _out(st), _print_interfaces(print_interfaces), _print_subclasses(print_subclasses),
288 _classname(classname) {}
289 VMOp_Type type() const { return VMOp_PrintClassHierarchy; }
290 void doit();
291 };
292 #endif // INCLUDE_SERVICES
293
294 #endif // SHARE_RUNTIME_VMOPERATIONS_HPP
|
257 static Thread * shutdown_thread() { return _shutdown_thread; }
258 static void block_if_vm_exited() {
259 if (_vm_exited) {
260 wait_if_vm_exited();
261 }
262 }
263 VMOp_Type type() const { return VMOp_Exit; }
264 void doit();
265 };
266
267 class VM_PrintCompileQueue: public VM_Operation {
268 private:
269 outputStream* _out;
270
271 public:
272 VM_PrintCompileQueue(outputStream* st) : _out(st) {}
273 VMOp_Type type() const { return VMOp_PrintCompileQueue; }
274 void doit();
275 };
276
277 class VM_PrintClassLayout: public VM_Operation {
278 private:
279 outputStream* _out;
280 char* _class_name;
281 public:
282 VM_PrintClassLayout(outputStream* st, char* class_name): _out(st), _class_name(class_name) {}
283 VMOp_Type type() const { return VMOp_PrintClassHierarchy; }
284 void doit();
285 };
286
287 #if INCLUDE_SERVICES
288 class VM_PrintClassHierarchy: public VM_Operation {
289 private:
290 outputStream* _out;
291 bool _print_interfaces;
292 bool _print_subclasses;
293 char* _classname;
294
295 public:
296 VM_PrintClassHierarchy(outputStream* st, bool print_interfaces, bool print_subclasses, char* classname) :
297 _out(st), _print_interfaces(print_interfaces), _print_subclasses(print_subclasses),
298 _classname(classname) {}
299 VMOp_Type type() const { return VMOp_PrintClassHierarchy; }
300 void doit();
301 };
302 #endif // INCLUDE_SERVICES
303
304 #endif // SHARE_RUNTIME_VMOPERATIONS_HPP
|