Skip to Main Content
 

Major Digest Home Java Development Kit (JDK) 24 Updates: Key Features and Proposals - Major Digest

Java Development Kit (JDK) 24 Updates: Key Features and Proposals

Java Development Kit (JDK) 24 Updates: Key Features and Proposals

Java Development Kit (JDK) 24 Updates: Key Features and Proposals

The next version of the Java Development Kit (JDK), JDK 24, is bringing a slew of exciting features and proposals to the table. As we dive into the key points extracted from the text, it's clear that this update will have a significant impact on the world of Java development.

Key Features in JDK 24

Here are some of the most notable features expected to arrive with JDK 24:

  • Stream Gatherers: A new API that allows custom intermediate operations in stream pipelines, making it easier to process data efficiently.
  • Vector API**: Re-incubated with no changes, aiming to express vector computations in a platform-agnostic way, enabling developers to write more efficient code.
  • Class-file API: Finalized with minor changes, providing an API for parsing and transforming Java class files, making it easier to work with class files.
  • Late Barrier Expansion: Simplifies the implementation of G1's barriers by shifting their expansion from early C2 compilation to later, improving overall performance.
  • Prepare to Restrict the Use of JNI**: Issues warnings about uses of JNI and adjusts the FFM API to issue warnings consistently, preparing for a future release that restricts JNI and FFM use.

Other Proposals

In addition to these features, there are several proposals in the works:

  • Remove Non-Generational Mode of ZGC**: To reduce maintenance costs by removing non-generational mode and replacing it with generational ZGC.
  • Stream Gatherers**: Enhances the stream API to support custom intermediate operations, making it easier to process data efficiently.
  • Vector API**: Designed to express vector communications that reliably compile at runtime to optimal vector instructions, enabling developers to write more efficient code.
  • Late Barrier Expansion for G1 GC: Simplifies the implementation of G1's barriers by shifting their expansion from early C2 compilation to later, improving overall performance.

Upcoming Releases

The next LTS (Long-Term Support) release, JDK 25, is due in September 2025. Meanwhile, the most recent LTS release, JDK 21, arrived in September 2023 and will get at least five years of Premier support from Oracle.

As we look ahead to these upcoming releases, it's clear that Java development is on the cusp of exciting new possibilities. Stay tuned for more updates on these developments and get ready to take advantage of the latest features and proposals in JDK 24 and beyond.

Source:
Published: