There are manual transitions to thread_blocked in ObjectMonitor and RawMonitor code. The reason for the manual transition is because some action needs to be performed before processing handshakes/safepoints.
One suggestion is to add a function, e.g., a template, to the transition RAII object.
One suggestion is to add a function, e.g., a template, to the transition RAII object.
- relates to
-
JDK-8257831 Suspend with handshakes
-
- Resolved
-
-
JDK-8267585 JavaThread::set_thread_state generally needs release semantics
-
- Closed
-
-
JDK-8271293 Monitor class should use ThreadBlockInVMPreprocess
-
- Resolved
-