Java News
Optimizing Java Class Metadata in Project ValhallaIn this post, I’ll walk through some of the behind-the-scenes details of one of Project Valhalla’s core features: value classes, and the concept of flattening (or inlining, the term I will use here). Whether you’re a JVM developer or just deeply curious about how Java works under the hood, this technical deep dive is for you.
Read MoreThe Inside Java Newsletter: JavaOne 2026: $100 Discount Now!
The Inside Java Newsletter for January 2026 includes a special limited-time discount code for JavaOne 2026 registration. Register now and save $100! The JavaOne 2026 keynotes and technical sessions have already been announced, and we’re now completing our final preparations for the conference in March. This issue also highlights the sponsors that will be at JavaOne, technical content from videos and podcasts, learning and community updates, and more from the Java Platform Group. Visit learn.java, dev.java, and inside.java for videos, articles, and other resources for developers, learners, educators, and customers. You can view the newsletter archives, subscribe, and share it with a friend!
Read MoreLazyConstants in JDK 26 - Inside Java Newscast #106
Lazily initializing fields in Java is error-prone and undermines constant-folding. JDK 26 comes with JEP 526, which previews LazyConstant, a type that lazily initializes a value through a given Supplier. It executes that supplier at most once successfully and then assigns the value to a field annotated with @Stable, which allows constant folding. This API is also a poster child for how OpenJDK develops and evolves features.
Read MoreLevel Up Your LangChain4j Apps for Production
This session demonstrates how LangChain4j can help, showcasing a set of often overlooked techniques that keep AI systems on track and unlock more advanced use cases. We explore LangChain4j’s advanced RAG methods for finding all relevant information across documents, databases, APIs, and more, and share practical tips for effective tool calls and responsible MCP usage. You will also see how LangChain4j’s agentic approach lets you decompose complex workflows for greater clarity and control. The presentation wraps up with a guided build of a production-ready agentic system, including the operational and legal considerations that matter once you move beyond PoC.
Read MoreEpisode 44 “Java, Collections & Generics, BeJUG”
In this special episode of the Inside Java Podcast, Nicolai Parlog talks to Adam Bien about scripting with Java, to Maurice Naftalin about the history and tradeoffs of the collections framework and erasure, and to Tom Cools about the innovative way the Belgian Java User Group organizes itself.
Read MoreData-Oriented Programming for Java: Beyond Records
Records, sealed classes, and destructuring with record patterns constitute the first feature arc of “data-oriented programming” for Java. After considering numerous design ideas, we’re now ready to move forward with the next “data oriented programming” feature arc: carrier classes (and interfaces.)
Read MoreOracle Java Extension for Visual Studio Code Version 25.0.1 Is Now Available!
New release of Java Platform Extension for VS Code
Read MoreCarrier Classes; Beyond Records - Inside Java Newscast #105
This episode presents Project Amber lead Brian Goetz’s recent email “Data Oriented Programming, Beyond Records”, wherein he describes plans to improve Java’s data handling capabilities by introducing carrier classes, a generalization of records.
Read MoreOptimizing GPU Programs from Java using Babylon and HAT
The Heterogeneous Accelerator Toolkit (HAT) is a parallel programming framework that allows Java developers to offload Java code and dispatch the generated code on modern hardware accelerators, such as Graphics Processing Units (GPUs). This article provides an overview of the HAT programming model: using matrix-multiplication as an example, we demonstrate how Java developers can tune GPU workloads from the Java side to achieve performance close to native cuBLAS, scaling from 7 GFLOP/s on CPUs to 14 TFLOP/s on an NVIDIA A10 GPU.
Read More1B Rows with the Memory API - JEP Cafe #25
In this JEP Café episode, we take on the well-known '1 Billion Rows Challenge' and implement it using the standard Memory API introduced in JDK 22. The goal of this implementation is not to break any speed records, but to show you how can process binary data using standard patterns offered by the JDK, in a clean and efficient way.
Read MoreSourced from https://inside.java via RSS.