Table of Contents
- 1 Introduction
- 2 Features of Java SE 10
JDK 10 follows the modular model of JDK 9 and provides extensions to the features and functionality of JDK 9. JDK 10 does not include any major changes or improvements over JDK 9, but is the first release of a new semi-annual release cadence announced by Oracle.
The JDK 10 public update, planned as a short-term release, will be completed in six months. The next release of JDK 11 is scheduled for September 2020 and will be a long-term support (LTS) release of Java.
Features of Java SE 10
Application Data-Class Sharing (CDS)
The JDK Enhancement Proposal (JEP) is an extension to the existing CDS feature, which allows you to store application classes in a common file to improve startup.
Parallel Full GC for G1
Fully parallel GC improves the worst-case delay of the F1 garbage collector.
Garbage Collector Interface
JDK 10 introduces a garbage collector interface (GC) to improve source code isolation from various garbage collectors.
Combine the multiple JDK repositories into a Single Repository
This feature is enabled to simplify and speed up development.
Local-Variable Type Inference
This improvement allows you to extend typed inference to local variable declarations using initializers. It also introduces var in Java.
JDK 10 introduces the ability to stop individual threads instead of all or none by performing a thread callback without executing a global VM security point.
Time-Based Release Versioning
Introduced a new time-based release versioning for the version-string scheme of the Java SE Platform and JDK.
- The default set of Root Certification Authority (CA) certificates in the JDK.
- Improved java.util.Locale and related APIs for implementing additional Unicode extensions.