Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Industrial programming >> Java

Java 10 Thread‑Local Handshake: Faster VM Safepoints & Performance Boost

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 application threads without making a global VM safepoint. Thus allows JVM to stop an individual thread without stopping all threads.

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


Java

  1. Understanding Java: JDK, JRE, and JVM Explained
  2. Master Java Operators: Types, Syntax, & Practical Examples
  3. Java Comments: Types, Usage, and Best Practices
  4. Mastering Java's super Keyword: Advanced Usage & Practical Examples
  5. Mastering Java Interfaces: Concepts, Implementation, and Best Practices
  6. Mastering Java Try‑with‑Resources: Automatic Resource Management Explained
  7. Java Annotations Explained: Types, Placement, and Practical Examples
  8. JVM Explained: What It Is and Its Architecture
  9. JDK, JRE, and JVM Explained: Key Differences and How They Work Together
  10. Java 10 Thread‑Local Handshake: Faster VM Safepoints & Performance Boost