JDK 10 Release Introduces 109 New Features Including 12 Key JEPs
Scheduled for a March 20 release, JDK 10 brings 109 new features—most notably a set of 12 JEPs such as local‑variable type inference, a unified repository, a new GC interface, and enhanced class‑data sharing—while also adding 73 standard library updates and JVM spec changes.
According to former Oracle employee Simon Ritter, JDK 10 is slated for official release on March 20 and contains a total of 109 new features, though some details may still change before the final launch.
The most significant additions are the twelve JEPs previously highlighted:
JEP 286: Local‑variable type inference (var), a long‑discussed feature with community surveys.
JEP 296: Consolidation of multiple JDK code repositories into a single repository.
JEP 304: A clean garbage‑collector (GC) interface to improve source isolation among different collectors.
JEP 307: Introduction of parallel Full GC for the G1 collector.
JEP 310: Application‑class data sharing, extending the existing CDS feature to allow application classes in the shared archive.
JEP 312: Thread‑local control, enabling the suspension of individual threads instead of all threads.
JEP 313: Removal of the Native‑Header Generation Tool (javah).
JEP 314: Additional Unicode language‑tag extensions (e.g., cu, fw, rg, tz).
JEP 316: Allocation of heap memory on alternative memory devices, allowing HotSpot to place Java object heaps on such devices.
JEP 317: A Java‑based JIT compiler (experimental).
JEP 319: Inclusion of root certificates in the open‑source Java SE Root CA program.
JEP 322: Time‑based release cadence, separating “Feature releases” (new features) from “Update releases” (bug fixes).
Among these, local‑variable type inference (var) has attracted the most attention, prompting changes to the Java Language Specification such as modified static‑import rules for types with identical names and the introduction of the special identifier var for inferred local variables.
In addition to the twelve JEPs, JDK 10 adds 73 new standard library classes, updates to the JVM specification, and several other enhancements; the full list of 109 features is available at Azul’s feature page .
Developers can try the JDK 10 early‑access builds at http://jdk.java.net/10/ .
The article invites readers to share which new features they find most useful and whether they plan to upgrade.
Original source: http://suo.im/4DsAXz
Java Captain
Focused on Java technologies: SSM, the Spring ecosystem, microservices, MySQL, MyCat, clustering, distributed systems, middleware, Linux, networking, multithreading; occasionally covers DevOps tools like Jenkins, Nexus, Docker, ELK; shares practical tech insights and is dedicated to full‑stack Java development.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.