8254029: ObjectMonitor cleanup/minor bug-fix changes extracted from JDK-8253064

Reviewed-by: dholmes, eosterlund
This commit is contained in:
Daniel D. Daugherty 2020-10-20 01:08:19 +00:00
parent 7a580ca8c0
commit c87cdf70e4
8 changed files with 125 additions and 114 deletions

View file

@ -179,7 +179,7 @@ class ObjectMonitor {
jint _contentions; // Number of active contentions in enter(). It is used by is_busy()
// along with other fields to determine if an ObjectMonitor can be
// deflated. It is also used by the async deflation protocol. See
// ObjectSynchronizer::deflate_monitor_using_JT().
// ObjectSynchronizer::deflate_monitor().
protected:
ObjectWaiter* volatile _WaitSet; // LL of threads wait()ing on the monitor
volatile jint _waiters; // number of waiting threads