Java News
Why It Takes 3000 Commits to Bring Valhalla’s Value Objects to the JDKJEP 401 (Value Objects) arrives in OpenJDK as a preview feature, enabling a new Java type model with minimal code changes. The talk explains what value objects are, JVM benefits, Valhalla history, implementation details, and the path toward bridging objects and primitives, including future support like List<int>.
Read MoreAdaptive Heap Sizing + Numeric Conversion + Primitive Patterns - Inside Java Newscast #117
ZGC gets adaptive heap sizing, value classes complicate numeric conversions, and primitive patterns are withdrawn as JDK 28 takes shape.
Read MoreAnnouncing Oracle WebLogic Server and Coherence 26
Oracle is pleased to announce Oracle WebLogic Server and Coherence 26! This release brings Jakarta EE 11 support, Java SE 21 and 25 support, new application development capabilities, stronger security defaults, and improvements to data processing, persistence, and operational management.
Read MoreWithdrawing the Primitive Patterns Preview Feature
We have decided to cease development of Primitive Types in Patterns, instanceof, and switch. The draft JEP https://openjdk.org/jeps/8393282 that would have been the sixth preview of this feature will be withdrawn, and the feature will be removed from JDK 28.
Read MoreTutorial: The G1 Garbage Collector
In this tutorial, we will cover a brief history of G1, its key design concepts, and how to use it.
Read MoreA Valhalla Ticker in One int
Learn how to pack a short ticker symbol into one int with a value class implementing CharSequence and Comparable.
Read MoreJava and the Next Generation of Programming Models
Modern software increasingly interacts with AI models, query languages, and other specialized programming models, forcing you to switch contexts, embed foreign code, or write verbose wrappers to bridge the gap. What if you could express logic from outside the JVM directly in Java? In this session, we start by looking at how Java enables you to safely interact with runtimes outside of the JVM using the Foreign Function and Memory API and tools like jextract. Then will push further with Project Babylon’s code reflection: express AI models as Java programs that Babylon can analyze, transform and lower to inference engines, thus leveraging hardware accelerator backends while skipping external model files or the need to glue code.
Read MoreEpisode 74 “Ask the Architects at Devoxx” [AtA]
Recent and upcoming Java features (e.g. value classes, withers, and lazy constants) make it easier to define, construct, copy, and access immutable data
Read MoreProject Detroit: From Foreign Libraries to Foreign Language Runtimes
Interacting with foreign libraries from Java has never been easier, thanks to the Foreign Function & Memory (FFM) API. But interacting with entire foreign language runtimes, like JavaScript or Python, remains hard. Project Detroit paves a new way forward: instead of implementing bespoke language runtimes from scratch, it leverages FFM to embed industry-standard native runtimes like V8 and CPython in the safety and comfort of your Java application.
Read MoreJDK 27 G1/Parallel/Serial GC changes
Now that the JDK 27 has been released, I thought it would be time to discuss interesting changes in OpenJDK’s stop-the-world collectors in the HotSpot VM once more.
Read MoreSourced from https://inside.java via RSS.