Java and JDK 21 are now feature complete, and are in Rampdown Phase Two. Java 21 is the new Long Term Support (LTS) version, meaning it will be supported for at 5 years by Oracle, and both Java 21 and JDK 21 come with 15 JEPs (Java Enhancement Proposals).
The arrival of this stage for standard Java JDK 21 was announced by the Open JDK group. Oracle will release the new version under a commercial license for those using the Oracle JDK release as part of an Oracle product or service, or for those who want to be able to get commercial support.
One hightlight of the new version is full support for virtual threads. Virtual threads are lightweight threads that significantly reduce the effort of writing, maintaining, and observing high-throughput concurrent applications.
The aim of the developers in adding virtual thread support was to enable server applications written in the simple thread-per-request style to scale with near-optimal hardware utilization. Since they were introduced in JDK 19, virtual threads have been changed so they always support thread-local variables.
A preview has also been included of string templates. These complement Java's existing string literals and text blocks by coupling literal text with embedded expressions and template processors to produce specialized results.
Other improvements include support for sequenced collections with a defined encounter order;and a preview of support for unnamed patterns, which match a record component without stating the component's name or type, and unnamed variables, which can be initialized but not used.
The Z garbage collector has also been improved so that it can maintain separate generations for young and old objects. The developers say this will allow ZGC to collect young objects — which tend to die young — more frequently, and will thus improve application performance.
Oracle plans to release Java 21 at Oracle CloudWorld on September 19th.
[画像:corretto]
More Information
Related Articles
Sigstore Java - Sign And Verify Your Java Builds
Jakarta vs Spring - The War Goes On
Foojay - All About Java and the OpenJDK
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Blockly Moving To Raspberry Pi Foundation
31/10/2025
Blockly is moving to a new home. Having originated as a single-person project at Google in 2011, it is now a vibrant open source project which has moved into robotics as well as being at the heart of [ ... ]
AI Champion Ship Now Open
07/11/2025
The AI Champion Ship is now underway, with a month to go before entries close. The organizers describe it as a global competition for builders, dreamers, and tinkerers who want to push AI beyond the o [ ... ]
- PyTorch Team Introduces Cluster Programming
- OpenCode - The Claude Code Alternative
- Amazing Clocks
- XAML.io 0.5 Adds Multi-File Project Editing
- .NET 10, C# 14 and F# 10 Released Alongside Visual Studio 2026
- Microsoft Announces GitHub Copilot App For Java And .NET
- Apple Extends Bug Bounty Program
- AI Improves Devs Skills, Enhances Their Roles
- Mico - A Personality For Copilot
- Robotic Gut Spider For Exploring Digestive Tract
- C# Could Overtake Java in TIOBE Index
- IBM Launches Granite Version 4.0 and Granite-Docling
- TestSprite 2.0 Sees User Growth
Comments
or email your comment to: comments@i-programmer.info