Java News
HTTP/3 Support in JDK 26One new JDK 26 feature is that `HttpClient`, which has been part of Java SE since JDK 11, now supports HTTP/3...
Read MoreAssembling Project Leyden #JVMLS
Two years ago John Rose stood here at JVMLS and unveiled the Project Leyden prototype efforts the team had been developing. Since then, Leyden has delivered JEPs in both JDK 24 and JDK 25. These early building blocks provide a foundation to continue assembling new AOT features. And speaking of assembly, let's deep dive into how and when the AOTCache gets created. We'll also touch on what's next in the Leyden pipeline and look at some of the areas of future exploration as well as discuss some of the surprising learnings from the team along the way.
Read MorePerformance Improvements in JDK 25
Java is constantly evolving with ever increasing performance. JDK 25 comes with significant performance improvements compared to previous versions including scoped values, improved GCs, lots of compiler improvements, and much more.
Read MoreFrom JDK 21 to JDK 25 - Java Performance Update 2025
JDK 25 has just been released and is packed with performance improvements compared to JDK 21, allowing your unchanged application code to run even faster.In this talk, we will take a closer look at 13 concrete performance improvements made between JDK 21 and JDK 25 involving both the standard Java libraries, the JIT compiler, and the garbage collectors. Among these improvements is the newly introduced 'Stable Value' preview feature, which allows a field to share the benefits of both mutable and immutable fields simultaneously. We will learn how this new feature works, how much performance can be improved, and how your code can take advantage of it already today.We will also explore some of the design considerations made, the importance of developer feedback, and how the JDK engineers evaluate performance in a world of conflicting optimization criteria and varying platform properties.
Read MoreWhat’s New in Java 25 in 2 Minutes - Sip of Java
JDK 25 has been released! Let’s quickly review the 18 JEPs (JDK Enhancement Proposals) that were included in the JDK 25 release, in 2 minutes, or maybe just a bit more! And if you have more than a few minutes, you can check out the playlist , but fair warning: your coffee might get cold before you’re done!
Read MoreStructured Concurrency in Action
In Java 25, the structured concurrency API sees its fifth preview with considerable changes over previous iterations. With chances being good that it will finalize without a further overhaul, let's put it into action and explore how to: structure concurrent code, process and propagate errors and cancellation, observe thread relationships, and refactor from a reactive approach. After this presentation you'll be ready to put the structured concurrency API into action in your project.
Read MoreJava for AI
Many Java features, existing and future, can meet the demands of AI. Existing features include the Foreign Function and Memory API and the Vector API. Future features include those proposed by Project Valhalla and Project Babylon. This presentation will discuss these features and how they might be used by Java libraries and applications to build competitive AI solutions.
Read MorePattern Matching, Under the Microscope
Project Amber has introduced pattern matching into the Java language, improving both safety and expressiveness of our programs. With JEP 507 set to lift restrictions on primitive types in instanceof and switch, pattern matching is positioned as the foundation of safe cast conversions across all Java types. But what does this mean for the language, its safety guarantees, and how we test runtime conditions? This session takes an in-depth look at the fundamental concepts of exhaustiveness, unconditionality, applicability, remainder, and examine the distinction between exact and inexact conversions as introduced by JEP 507. With practical code comparisons and visual explanations, we will see how these patterns drive safer code and enable innovative language features on the horizon.
Read More“Just Make All Exceptions Unchecked” - Live Q&A from Devoxx
Java's error handling is driven by exceptions, a big part of which is the distinction between checked and unchecked exceptions. This comes with hurdles that lead many Java developers to prefer unchecked exceptions and wondering whether checked exceptions where a mistake. In this conversation, Stuart Marks and Nicolai Parlog discuss exactly that.
Read MoreUnlock Powerful Insights with Java Management Service: Introducing Analyze Applications and Major Management Enhancements
We’re excited to announce a significant new release of Oracle Java Management Service (JMS), led by the breakthrough Analyze Applications capability and complemented by major enhancements for managing modern Java fleets—including advanced task scheduling, and expanded support for Java workloads in Kubernetes and with Oracle’s Enterprise Performance Pack.
Read MoreSourced from https://inside.java via RSS.