![]() This helps increase developer productivity by making the Java language more readable, writable, and maintainable. ![]() In addition, the readability of expressions that mix text and expressions is enhanced, and non-string values computed from literal text and embedded expressions can be created without having to transit through an intermediate string representation. JEP 430: String Templates (Preview): Simplifies the development of Java programs by making it easy to express strings that include values computed at run time, and improves the security of programs that compose strings from user-provided values and pass them to other systems.Generational ZGC helps improve developer productivity by lowering the overhead of required heap memory and garbage collection CPU for applications, as well as reducing the risks of allocation stalls. JEP 439: Generational ZGC: Improves application performance by extending the Z Garbage Collector (ZGC) to maintain separate generations for young and old objects.This helps developers streamline error handling and cancellation, improve reliability, and enhance observability. JEP 453: Structured Concurrency (Preview): Simplifies concurrent programming by introducing an API for structured concurrency, which helps promote a style of concurrent programming that can eliminate common risks arising from cancellation and shutdown – such as thread leaks and cancellation delays – and improves the observability of concurrent code.This helps increase the ease-of-use, comprehensibility, robustness, and performance of developers’ projects. JEP 446: Scoped Values (Preview): Enables the sharing of immutable data within and across threads.By enabling developers to easily troubleshoot, debug, and profile concurrent applications and scale them with existing JDK tools and techniques, virtual threads help accelerate application development. JEP 444: Virtual Threads: Significantly streamlines the process of writing, maintaining, and observing high-throughput, concurrent applications by introducing lightweight virtual threads to the Java Platform.Significant updates delivered in Java 21 are: Project Loom Features Based on customer feedback and use in the Java ecosystem, Oracle has also announced that long term support for Java 11 has been extended through at least January 2032, providing at least eight more years of support and updates from Oracle. This extended support period gives organizations flexibility to keep applications in production longer with minimal maintenance, and to eventually migrate on their own terms. Oracle will offer long term support for Java 21 for at least eight years. “As the world evolves, Java’s ability to adapt will help it continue to play a key role in offering value to developers.” “Despite so many languages that are in circulation, Java is still everywhere today,” said Stephen O’Grady, principal analyst and co-founder, RedMonk. JDK 21 delivers language improvements from OpenJDK project Amber (String Templates, Record Patterns, Pattern Matching for Switch, Unnamed Patterns and Variables, and Unnamed Classes and Instance Main Methods) enhancements from Project Panama (Foreign Function & Memory API and Vector API) features related to Project Loom (Virtual Threads, Scoped Values, and Structured Concurrency) performance updates (Generational ZGC) and maintenance and deprecation features (Deprecate the 32-bit x86 Port for Removal, and Prepare to Disallow the Dynamic Loading of Agents). The latest Java Development Kit (JDK) provides updates and improvements with 15 JDK Enhancement Proposals (JEPs). ![]() In addition, commercial support will be available for at least eight years to enable customers to migrate at their own pace.” “The new enhancements in Java 21 enable developers to build better applications even faster than before. “Java continues to be the language and platform of choice for the development of robust, scalable, and secure applications used by organizations and millions of individuals around the world,” said Georges Saab, senior vice president of Oracle Java Platform and chair of the OpenJDK governing board. Oracle is showcasing the latest capabilities in Java 21 at Oracle CloudWorld, which takes place this week (September 18-21) in Las Vegas, NV and online at /cloudworld. Java 21 (Oracle JDK 21) delivers thousands of performance, stability, and security improvements, including platform enhancements that will help developers increase productivity and drive innovation and growth across their organizations. Oracle today announced the availability of Java 21, the latest version of the world’s number one programming language and development platform.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |