Java News
JEP targeted to JDK 25: 511: Module Import DeclarationsThe following JEP is targeted to JDK 25: 511: Module Import Declarations
Read MoreStrings Just Got Faster
In JDK 25, Strings used as keys in immutable Maps can be much faster.
Read MoreAnnouncing Jipher: Java Cryptographic Service Provider for FIPS Environments
We are excited to announce the release of Oracle Jipher, a Java Cryptographic Service Provider that packages a Federal Information Processing Standards (FIPS) 140-2 validated OpenSSL cryptographic module. The Jipher provider makes the cryptographic services available for Java developers using the standard Java Cryptography Architecture (JCA) framework.
Read MoreFinalizing the Java On-ramp - Inside Java Newscast #90
Big, or would it be compact(?), changes are coming to Java in the Java 25 release! In this episode of the Inside Java Newscast we are taking a look at how the Paving the On-ramp is set to feature set is set to be finalized in Java 25. We will also look at the launch of our new website lear.java, dedicated to people wanting to learn to write in Java, and those teaching Java!
Read MoreJEP targeted to JDK 25: 503: Remove the 32-bit x86 Port
The following JEP is targeted to JDK 25: 503: Remove the 32-bit x86 Port
Read MoreWhere Is the Java Language Going?
Join Brian Goetz (Java Language Architect) on a whirlwind tour of recent enhancements and future directions for the Java language with a special emphasis on Project Amber and Project Valhalla.
Read MoreOracle Java Extension for Visual Studio Code Version 24.0.0 Is Now Available!
New Java Platform Extension for VS Code Release
Read MoreHow ZGC Allocates Memory for the Java Heap
This post explores how ZGC, one of the garbage collectors in the OpenJDK, allocates memory for the Java heap, focusing on enhancements introduced in JDK-8350441 with the Mapped Cache. A garbage collector does much more than just collect garbage - and that’s what I want to unpack in this post. Whether you’re a Java nerd yearning for details, a GC enthusiast, or just curious about how ZGC uses memory behind the scenes, this deep dive is for you.
Read MoreSequenced Collections - Deep Dive with the Expert
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 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 MoreSourced from https://inside.java via RSS.