equal
deleted
inserted
replaced
412 outputStream* _out; |
412 outputStream* _out; |
413 ThreadsListSetter _setter; // Helper to set hazard ptr in the originating thread |
413 ThreadsListSetter _setter; // Helper to set hazard ptr in the originating thread |
414 // which protects the JavaThreads in _deadlocks. |
414 // which protects the JavaThreads in _deadlocks. |
415 |
415 |
416 public: |
416 public: |
417 VM_FindDeadlocks(bool concurrent_locks) : _concurrent_locks(concurrent_locks), _out(NULL), _deadlocks(NULL), _setter() {}; |
417 VM_FindDeadlocks(bool concurrent_locks) : _concurrent_locks(concurrent_locks), _deadlocks(NULL), _out(NULL), _setter() {}; |
418 VM_FindDeadlocks(outputStream* st) : _concurrent_locks(true), _out(st), _deadlocks(NULL) {}; |
418 VM_FindDeadlocks(outputStream* st) : _concurrent_locks(true), _deadlocks(NULL), _out(st) {}; |
419 ~VM_FindDeadlocks(); |
419 ~VM_FindDeadlocks(); |
420 |
420 |
421 DeadlockCycle* result() { return _deadlocks; }; |
421 DeadlockCycle* result() { return _deadlocks; }; |
422 VMOp_Type type() const { return VMOp_FindDeadlocks; } |
422 VMOp_Type type() const { return VMOp_FindDeadlocks; } |
423 void doit(); |
423 void doit(); |