mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
6699669: Hotspot server leaves synchronized block with monitor in bad state
Remove usage of _highest_lock field in Thread so that is_lock_owned won't depend on the correct update of that field. Reviewed-by: never, dice, acorn
This commit is contained in:
parent
e1b2c1c442
commit
62fa852746
8 changed files with 37 additions and 79 deletions
|
@ -656,7 +656,6 @@ static inline uint64_t cast_uint64_t(size_t x)
|
|||
\
|
||||
volatile_nonstatic_field(Thread, _suspend_flags, uint32_t) \
|
||||
nonstatic_field(Thread, _active_handles, JNIHandleBlock*) \
|
||||
nonstatic_field(Thread, _highest_lock, address) \
|
||||
nonstatic_field(Thread, _tlab, ThreadLocalAllocBuffer) \
|
||||
nonstatic_field(Thread, _current_pending_monitor, ObjectMonitor*) \
|
||||
nonstatic_field(Thread, _current_pending_monitor_is_from_java, bool) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue