8221350: more monitor logging updates from Async Monitor Deflation project

Reviewed-by: dholmes, coleenp
This commit is contained in:
Daniel D. Daugherty 2019-03-26 15:27:41 -04:00
parent 6efb59fad7
commit 6e84bce1b5
3 changed files with 49 additions and 25 deletions

View file

@ -199,11 +199,11 @@ class ObjectSynchronizer : AllStatic {
static u_char* get_gvars_stwRandom_addr();
};
// ObjectLocker enforced balanced locking and can never thrown an
// ObjectLocker enforces balanced locking and can never throw an
// IllegalMonitorStateException. However, a pending exception may
// have to pass through, and we must also be able to deal with
// asynchronous exceptions. The caller is responsible for checking
// the threads pending exception if needed.
// the thread's pending exception if needed.
class ObjectLocker : public StackObj {
private:
Thread* _thread;