Thread-local handshakes

One of the features added to the Java platform in version 10 was the ability to stop threads individually without having to perform a global virtual machine safe point. The benefits of having this capability include biased lock revocation improvement, virtual machine latency reduction, safer stack tracing, and omitting memory barriers.

This change is evident in x64 and SPARC (short for Scalable Processor Architecture) systems. If we want to select normal safepoints, we would use the following option:

XX: ThreadLocalHandshakes
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset