English 中文(简体)
Java 10 - Thread-local Handshake
  • 时间:2024-09-08

Java 10 - Thread-local Handshake

Previous Page Next Page  

JEP 312 - Thread-Local Handshakes

In JDK 10, a new option is introduced for JVM as -XX:ThreadLocalHandshakes. This options works only for x64 and SPARC based machines.

This option is available to improve VM performance. It allows to make a callback on apppcation threads without making a global VM safepoint. Thus allows JVM to stop an inspanidual thread without stopping all threads.

As this options is not available to all platforms, other platforms will fall back to normal safepoints.

Advertisements