-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: hotspot
-
b12
ObjectMonitor::try_lock_or_add_to_entry_list() does not change the node's state back to TS_RUN before returning true in case of successful monitor grabbing.
This may lead to breaking the guarantee(node.TState == ObjectWaiter::TS_RUN, "invariant") statement in ObjectMonitor::wait() code.
Spotted during a visual inspection.
This may lead to breaking the guarantee(node.TState == ObjectWaiter::TS_RUN, "invariant") statement in ObjectMonitor::wait() code.
Spotted during a visual inspection.
- links to
-
Commit(master)
openjdk/jdk/70f34693
-
Review(master)
openjdk/jdk/26794