March 2019
Intermediate to advanced
242 pages
6h 21m
English
Suppose that you need to pause a particular thread, executing a callback on it. Prior to thread-local handshakes, there wasn't any way to do that. The norm was to perform a global VM safepoint, which pauses all of the executing threads (and what a waste that is, if you meant to pause only one thread). With thread-local handshakes, it is possible to stop individual threads.
By aiming to reduce global VM safepoints, thread-local handshakes will reduce JVM latency and improve its efficiency.
Read now
Unlock full access