Oracle announces production ready Java SE 10 (JDK 10) obsoleting Java 9, which arrived just six months ago.
Some of the features in Java 10 -
- Local-variable type inference: enhances the Java language to extend type inference to declarations of local variables with initializers.
- Parallel Full GC for G1: improves G1 worst-case latencies by making the full GC parallel.
- Application Class-Data Sharing: optimizes startup time and footprint by extending the existing Class-Data Sharing (“CDS”) feature to allow application classes to be placed in the shared archive.
- Experimental Java-Based JIT Compiler: enables the Java-based JIT compiler, Graal, to be used as an experimental JIT compiler on the Linux/x64 platform
- Thread-Local Handshakes: a way to execute a callback on threads without performing a global VM safepoint.
- Heap Allocation on Alternative Memory Devices: Enables the HotSpot VM to allocate the Java object heap on an alternative memory device, such as an NV-DIMM, specified by the user
- Time-Based Release Versioning: Revises the version-string scheme of the Java SE Platform and the JDK, and related versioning information, for present and future time-based release models.