mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8254029: ObjectMonitor cleanup/minor bug-fix changes extracted from JDK-8253064
Reviewed-by: dholmes, eosterlund
This commit is contained in:
parent
7a580ca8c0
commit
c87cdf70e4
8 changed files with 125 additions and 114 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue