Java News
JEP targeted to JDK 26: 524: PEM Encodings of Cryptographic Objects (Second Preview)The following JEP is targeted to JDK 26: 524: PEM Encodings of Cryptographic Objects (Second Preview)
Read MoreBeyond the Vector API - A Quest for a Lower Level API #JVMLS
Throughout the project, the Vector API balanced providing a cross-platform API with staying close to the metal, performance-wise. While the project succeeded in that goal, the Vector API had to give up some important functionality when it didn't fit the design. As a result, the API became unsuitable for implementing an important class of vectorized algorithms that depend on access to particular hardware functionality. With recent progress in Project Panama (on the Foreign Function & Memory API and jextract), new opportunities have emerged to bring Java even closer to hardware. The talk covers how the Vector API evolved (from machine code snippets to JVM intrinsics), and then focus on a novel approach to providing access to individual machine code instructions from Java code in a performant manner. Such a "hardware intrinsics" API complements the Vector API by providing access to low-level platform-specific primitives. It opens up new opportunities for the Java Platform and enables simplifications in the Vector API, JDK, and JVM implementations.
Read MoreDeep Dive into Gatherers - JEP Cafe #24
This JEP Café takes you through everything you can do with Gatherers, added to JDK 24 and available in JDK 25, the version you are going to use for your business applications. Along with many examples, it shows you the basics of mapping and filtering, how you can create and manage an internal mutable state to limit your stream, and sort them. It shows you how you can properly interrupt a stream when you need, and how you can avoid resource leaking and race conditions in the use of the API. It also shows you how you can leverage some available optimizations by declaring your integrators greedy when you can. One of the greatest features of the Stream API is that you can decide to go parallel. So parallel Gatherers are covered, along with the use of non-parallel Gatherers in parallel streams. At the end of this video you will know eveything you need to write efficient and correct Gatherers, but also when you should use them, and when you should stay away from them.
Read MoreJEP targeted to JDK 26: 516: Ahead-of-Time Object Caching with Any GC
The following JEP is targeted to JDK 26: 516: Ahead-of-Time Object Caching with Any GC
Read MoreThe Inside Java Newsletter: The Latest on JavaOne 2026
The Inside Java Newsletter for October 2025 focuses exclusively on planning for JavaOne 2026. Subscribe for updates via the links in the newsletter and we’ll see you in March 2026! Visit learn.java, dev.java, and inside.java for multimedia content for developers, learners, educators, and customers. See the newsletter archives, subscribe, and send to a friend!
Read MoreSerialization 2 0: A Marshalling Update!
Almost three decades have passed since the creation of Java Serialization—a feature which is widely frowned upon—and application requirements for externalization of objects have changed significantly.This presentation explains in which way requirements and constraints have changed, and how recent enhancements of the Java Language together with a simpler and clearer division of responsibilities can lead to a dramatically simpler, and safer, model for programmatically reasoning about the structure of Objects; offer greater flexibility in state extraction, versioning, encoding, and reconstruction; and, support a wide selection of wire formats.
Read MorePulling the (Foreign) String
The Foreign Function & Memory (FFM) API comes equipped with methods to read, writes strings from/to memory segments, as well as to allocate memory segments from existing Java strings. In this document we'll explore ways in which we can enhance the FFM API to support more efficient interoperability between strings and memory segments...
Read MoreJEP targeted to JDK 26: 500: Prepare to Make Final Mean Final
The following JEP is targeted to JDK 26: 500: Prepare to Make Final Mean Final
Read MoreTry the New Valhalla EA Build - Inside Java Newscast #100
JEP 401, Value Classes and Objects, has recently re-entered "candidate" status and is getting ready to target a release. In preparation, Project Valhalla published a new early-access build that allows you to experiment with identity-less value classes in Java. A value class' lack of identity not only comes with readability and maintenance benefits for developers (where their limitations apply) but also gives the Java runtime the space it needs for more optimizations - scalarization and some heap flattening for now, although more is planned for the future.
Read MoreJEP targeted to JDK 26: 522: G1 GC: Improve Throughput by Reducing Synchronization
The following JEP is targeted to JDK 26: 522: G1 GC: Improve Throughput by Reducing Synchronization
Read MoreSourced from https://inside.java via RSS.