Java News
Interconnecting Java and Native Code with the FFM APIThe Foreign Function & Memory Access API (FFM API), delivered in Java SE 22, reduced the impedance mismatch between Java applications and native libraries in three steps. First, the FFM API provides a rich API to model a region of off-heap memory as a memory segment. Second, the FFM API provides a rich API to describe and link native functions. Third, access to native libraries can be simplified even further with the use of a tool (jextract) that mechanically generates the FFM API artifacts needed to access said libraries. The presentation showcases fundamental FFM principles as well as Java integration with native graphic libraries and AI frameworks.
Read MoreJEP targeted to JDK 25: 508: Vector API (10th Incubator)
The following JEP is targeted to JDK 25: 508: Vector API (10th Incubator)
Read MoreFFM vs. Unsafe. Safety (Sometimes) Has a Cost
The Foreign Function & Memory API is safer than Unsafe and almost as fast.
Read MoreJEP targeted to JDK 25: 470: PEM Encodings of Cryptographic Objects (Preview)
The following JEP is targeted to JDK 25: 470: PEM Encodings of Cryptographic Objects (Preview)
Read MoreEpisode 37 “Efficient Initialization Using Stable Values” with Per Minborg
In this episode, Ana hosted Per Minborg, member of the Java Core Library team at Oracle and co-author of JEP 502 on Stable Values. Per discusses the essence of Stable Values and how this approach addresses the limitations of eager initialization in Java, enabling more efficient application startup by deferring the creation of expensive resources until they are actually needed. He also explains the design process and particularities of the API, emphasizing that Stable Values can be particularly beneficial in multi-threaded environments, ensuring thread-safe, at-most-once initialization without the complexity of traditional synchronization mechanisms.
Read MoreQuality Outreach Heads-up - Separate Metaspace and GC Printing
This Heads-Up is part of the regular communication sent to the projects involved, it covers separating the printing of Metaspace and GC logs.
Read MoreKey Java Language Updates From 2020 to 2025
Gavin Bierman, a member of the Java Platform Group at Oracle and a contributor to Project Amber, reflects on five years of Java language development, focusing on flexible constructor bodies—a feature that is finalized in Java 25.
Read MoreJava 25 Brings 18 JEPs 😱 Inside Java Newscast #92
Java 25 will be released on September 16th. Its feature set has been frozen today and it is impressive: 11 finalized features in language, APIs and the runtime plus 7 that are brewing. The next release with long-term support will be worth a fast update.
Read MoreUbuntu Ships Java, Spring, AOT
On Ubuntu Community Discourse there is a new post (5/23/2025) that gives a roundup of programming toolchains powering Ubuntu application development.
Read MoreWhat’s new for JFR in JDK 25
JDK 25, to be released on September 16, is set to include three new Java Enhancement Proposals (JEPs) for JFR and several enhancements to the jdk.jfr API and the jfr command.
Read MoreSourced from https://inside.java via RSS.