< prev index next >

src/hotspot/share/runtime/vm_operations.hpp

Print this page
rev 50748 : Thread Dump Extension (memory allocation)


 355 
 356 class VM_UnlinkSymbols: public VM_Operation {
 357  public:
 358   VM_UnlinkSymbols() {}
 359   VMOp_Type type() const                         { return VMOp_UnlinkSymbols; }
 360   void doit();
 361   bool allow_nested_vm_operations() const        { return true; }
 362 };
 363 
 364 class VM_Verify: public VM_Operation {
 365  public:
 366   VMOp_Type type() const { return VMOp_Verify; }
 367   void doit();
 368 };
 369 
 370 
 371 class VM_PrintThreads: public VM_Operation {
 372  private:
 373   outputStream* _out;
 374   bool _print_concurrent_locks;

 375  public:
 376   VM_PrintThreads()                                                { _out = tty; _print_concurrent_locks = PrintConcurrentLocks; }
 377   VM_PrintThreads(outputStream* out, bool print_concurrent_locks)  { _out = out; _print_concurrent_locks = print_concurrent_locks; }
 378   VMOp_Type type() const                                           {  return VMOp_PrintThreads; }






 379   void doit();
 380   bool doit_prologue();
 381   void doit_epilogue();
 382 };
 383 
 384 class VM_PrintJNI: public VM_Operation {
 385  private:
 386   outputStream* _out;
 387  public:
 388   VM_PrintJNI()                         { _out = tty; }
 389   VM_PrintJNI(outputStream* out)        { _out = out; }
 390   VMOp_Type type() const                { return VMOp_PrintJNI; }
 391   void doit();
 392 };
 393 
 394 class VM_PrintMetadata : public VM_Operation {
 395  private:
 396   outputStream* const _out;
 397   const size_t        _scale;
 398   const int           _flags;




 355 
 356 class VM_UnlinkSymbols: public VM_Operation {
 357  public:
 358   VM_UnlinkSymbols() {}
 359   VMOp_Type type() const                         { return VMOp_UnlinkSymbols; }
 360   void doit();
 361   bool allow_nested_vm_operations() const        { return true; }
 362 };
 363 
 364 class VM_Verify: public VM_Operation {
 365  public:
 366   VMOp_Type type() const { return VMOp_Verify; }
 367   void doit();
 368 };
 369 
 370 
 371 class VM_PrintThreads: public VM_Operation {
 372  private:
 373   outputStream* _out;
 374   bool _print_concurrent_locks;
 375   bool _print_extended_info;
 376  public:
 377   VM_PrintThreads()
 378     : _out(tty), _print_concurrent_locks(PrintConcurrentLocks), _print_extended_info(false)
 379   {}
 380   VM_PrintThreads(outputStream* out, bool print_concurrent_locks, bool print_extended_info)
 381     : _out(out), _print_concurrent_locks(print_concurrent_locks), _print_extended_info(print_extended_info)
 382   {}
 383   VMOp_Type type() const {
 384     return VMOp_PrintThreads;
 385   }
 386   void doit();
 387   bool doit_prologue();
 388   void doit_epilogue();
 389 };
 390 
 391 class VM_PrintJNI: public VM_Operation {
 392  private:
 393   outputStream* _out;
 394  public:
 395   VM_PrintJNI()                         { _out = tty; }
 396   VM_PrintJNI(outputStream* out)        { _out = out; }
 397   VMOp_Type type() const                { return VMOp_PrintJNI; }
 398   void doit();
 399 };
 400 
 401 class VM_PrintMetadata : public VM_Operation {
 402  private:
 403   outputStream* const _out;
 404   const size_t        _scale;
 405   const int           _flags;


< prev index next >