Skip Top Navigation Bar

Java News

Sequenced Collections - Deep Dive with the Expert

By Stuart Marks on April 12, 2025

The Java Collections Framework has historically lacked a collection type that represents a sequence of elements with a defined encounter order, along with a uniform set of operations that applies across such collections. These gaps have been resolved with the introduction of Sequenced Collections in JDK 21. The addition of new sequenced types provides places for common order-relevant operations. These new operations include addition, retrieval, and removal of elements at either end of the collection, and the ability to view, iterate, and stream elements in reverse order. Various deficiencies in LinkedHashMap have also been remedied. Attendees will learn about how they can improve their code using the new Sequenced Collections APIs.

Read More
JavaOne’25 Highlights - Inside Java Newscast #89

By Nicolai Parlog on April 10, 2025

JavaOne'25 had great talks from OpenJDK insiders and from community experts, about technical and non-technical topics. Here are a few highlights: An explanation for why _not_ to use unit tests for AOT training runs on JDK 24, a garbage collection primer and comparison, two tips on how to analyze your Maven build, the announcement that `final` will eventually mean _really_ final and how to simulate that today, a detailed look at how to build an advanced retrieval augmenter for quering AI models, and last but not least, the roadmap for value types and null restriction.

Read More
JDK 24 Security Enhancements

By Sean Mullan on April 8, 2025

I have compiled a list of what I think are the most interesting and useful security enhancements in this release. I have also grouped them into appropriate categories (crypto, PKI, etc) which should make it easier to find out what has changed in each specific area.

Read More
JDK 24 G1/Parallel/Serial GC Changes

By Thomas Schatzl on April 7, 2025

JDK 24 has been released a few weeks ago. This post provides a brief overview of the changes to the stop-the-world collectors in OpenJDK in that release.

Read More
Java 24 Release Notes Overview - Security Updates

By Billy Korando on April 5, 2025

Java 24 has been released, and has come with a number of noteworthy security updates and fixes. In this video we will review all these changes.

Read More
Quality Outreach Heads-up - New Null Checks in Inner Class Constructors

By Nicolai Parlog on April 4, 2025

This Heads-Up is part of the regular communication sent to the projects involved, it covers the new null checks javac emits in inner class constructors for the immediately enclosing instance.

Read More
Stream Gatherers - Deep Dive with the Expert

By Viktor Klang on April 3, 2025

In this session, we'll demonstrate Gatherers, an API made final through JEP 485 in Java 24, to create, use, re-use, and compose intermediate operations for java.util.stream.Stream, enabling custom transformations as natural steps in your day-to-day stream processing.

Read More
New Write Barriers for G1

By Thomas Schatzl on April 2, 2025

The Garbage First (G1) collector’s throughput sometimes trails that of other HotSpot VM collectors. The difference is caused by G1’s principle to be a garbage collector that balances latency and throughput and tries to meet a pause time goal. A large part of that can be attributed to the synchronization of the garbage collector with the application necessary for correct operation. With JDK-8340827 we substantially redesign how this synchronization works for much less impact on throughput. This post explains these fairly fundamental changes.

Read More
Educating and Nurturing the Next Generation of Java Developers

By Georges Saab on March 31, 2025

Learn.java and College Board AP CSA collaboration announcement.

Read More
Java 24 Release Notes Overview for Operations

By Billy Korando on March 29, 2025

Java 24 was released on March 18th! In this video we will review all the noteworthy changes that impact the building, running, and profiling of Java applications that have come in Java 24.

Read More


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