Java 21 / JDK 21 Reaches GA With Virtual Threads, Generational ZGC

Written by Michael Larabel in Programming on 19 September 2023 at 10:38 AM EDT. 45 Comments
PROGRAMMING
Java 21 and the JDK 21 release under a general availability (GA) status occurred a short time ago as the newest major update to the Java programming language.

Java 21 introduces the notion of sequenced collections, the Z Garbage Collector (ZGC) has been extended to maintain separate generations for young and old objects for improving Java app performance, virtual threads are now out of preview form, and the Windows 32-bit x86 port has been deprecated for removal.

Java 21 also brings some new preview features including string templates, the latest iteration on the foreign function and memory API, unnamed classes and instance main methods, scoped values, and structured concurrency.

Making JDK 21 / Java 21 all the more significant is that it's the newest Long-Term Support (LTS) release following JDK 17.


More details on today's Java 21 (JDK 21) GA release via the JDK-dev mailing list. More details on all of the major improvements with Java 21 can be found via OpenJDK.org.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week