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