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