equal
deleted
inserted
replaced
370 |
370 |
371 class VM_PrintThreads: public VM_Operation { |
371 class VM_PrintThreads: public VM_Operation { |
372 private: |
372 private: |
373 outputStream* _out; |
373 outputStream* _out; |
374 bool _print_concurrent_locks; |
374 bool _print_concurrent_locks; |
375 public: |
375 bool _print_extended_info; |
376 VM_PrintThreads() { _out = tty; _print_concurrent_locks = PrintConcurrentLocks; } |
376 public: |
377 VM_PrintThreads(outputStream* out, bool print_concurrent_locks) { _out = out; _print_concurrent_locks = print_concurrent_locks; } |
377 VM_PrintThreads() |
378 VMOp_Type type() const { return VMOp_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 } |
379 void doit(); |
386 void doit(); |
380 bool doit_prologue(); |
387 bool doit_prologue(); |
381 void doit_epilogue(); |
388 void doit_epilogue(); |
382 }; |
389 }; |
383 |
390 |