Return to site

What’s New In JDK 14 Latest Release?

80 New Features & APIs

· freebies,java

Article on the Java 14 new features:

―Records

―Pattern Matching instanceof

―Helpful NullPointerException

―New APIs: java.io, java.lang, java.lang.annotation, java.lang.invoke, java.lang.runtime, java.util.text, java.util, java.util.concurrent.locks, javax.lang.model.element, javax.lang.model.util, org.xml.sax

―JEP 370: Foreign Memory Access API

―JVM Changes: NUMA-Aware Memory Allocation for G1, Remove the Concurrent Mark Sweep (CMS) Garbage Collector, Java Flight Recorder Event Streaming, ZGC on macOS and Windows, Deprecate the ParallelScavenge and SerialOld GC combination

―Other Features: Packaging Tool, Non-volatile Mapped Byte Buffers, Switch Expressions Standard, Deprecate the Solaris and SPARC ports, Remove the Pack 200, Tools and API, Text Blocks