< prev index next >

src/hotspot/share/runtime/vm_operations.hpp

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


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

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



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




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


< prev index next >