Java News
Sequenced Collections - Deep Dive with the ExpertThe 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 MoreJavaOne’25 Highlights - Inside Java Newscast #89
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 MoreJDK 24 Security Enhancements
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 MoreJDK 24 G1/Parallel/Serial GC Changes
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 MoreJava 24 Release Notes Overview - Security Updates
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 MoreQuality Outreach Heads-up - New Null Checks in Inner Class Constructors
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 MoreStream Gatherers - Deep Dive with the Expert
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 MoreNew Write Barriers for G1
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 MoreEducating and Nurturing the Next Generation of Java Developers
Learn.java and College Board AP CSA collaboration announcement.
Read MoreJava 24 Release Notes Overview for Operations
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 MoreSourced from https://inside.java via RSS.