

What Java 12 does really well is prove that the Java team can ship a relatively nondisruptive Java release on a six-month cadence.Īnother big improvement in JDK 12 is something that few people have heard of - the JVM Constants API, which refactors old Java code to create a single way to map constant data, including fairly complex objects that the Java compiler produces inside each Java class file, 's Purdy said. Abortable Mixed Collections improves garbage collection in Java 12. Garbage collection is a form of automatic memory management that frees up memory that is no longer in use or needed by the application. JEP 346: Promptly Return Unused Committed Memory from G1Īmong these features are syntax to make a switch statement into a switch expression and garbage collection related work on both the Garbage First or G1 garbage collector and the Z Garbage Collector.

JEP 344: Abortable Mixed Collections for G1.JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector.Java SE 12 delivers eight enhancements, in the form of JDK Enhancement Proposals (JEPs), to improve developer productivity: "The truth is that there's nothing earth-shattering in Java 12 - which is actually a really good thing when you value stability." "What Java 12 does really well is prove that the Java team can ship a relatively nondisruptive Java release on a six-month cadence," said Cameron Purdy, CEO of, a Lexington, Mass., cloud software startup, and former senior vice president of development at Oracle. This version, also known as Java Development Kit 12, or JDK 12, continues the six-month release pace Oracle started in September 2017. Oracle's latest release of the Java platform, Java Standard Edition 12 ( Java SE 12) offers better performance, functionality, security and programmer productivity.
