Skip Top Navigation Bar

Java News

JEP targeted to JDK 26: 524: PEM Encodings of Cryptographic Objects (Second Preview)

By Anthony Scarpino on November 17, 2025

The following JEP is targeted to JDK 26: 524: PEM Encodings of Cryptographic Objects (Second Preview)

Read More
Beyond the Vector API - A Quest for a Lower Level API #JVMLS

By Vladimir Ivanov on November 16, 2025

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 More
Deep Dive into Gatherers - JEP Cafe #24

By Jose Paumard on November 14, 2025

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 More
JEP targeted to JDK 26: 516: Ahead-of-Time Object Caching with Any GC

By Erik Osterlund on November 13, 2025

The following JEP is targeted to JDK 26: 516: Ahead-of-Time Object Caching with Any GC

Read More
The Inside Java Newsletter: The Latest on JavaOne 2026

By Jim Grisanzio on November 12, 2025

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 More
Serialization 2 0: A Marshalling Update!

By Viktor Klang on November 10, 2025

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 More
Pulling the (Foreign) String

By Maurizio Cimadamore on November 8, 2025

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 More
JEP targeted to JDK 26: 500: Prepare to Make Final Mean Final

By Ron Pressler, Alex Buckley on November 7, 2025

The following JEP is targeted to JDK 26: 500: Prepare to Make Final Mean Final

Read More
Try the New Valhalla EA Build - Inside Java Newscast #100

By Nicolai Parlog on November 6, 2025

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 More
JEP targeted to JDK 26: 522: G1 GC: Improve Throughput by Reducing Synchronization

By Ivan Walulya, Thomas Schatzl on November 5, 2025

The following JEP is targeted to JDK 26: 522: G1 GC: Improve Throughput by Reducing Synchronization

Read More


Sourced from https://inside.java via RSS.