Skip Top Navigation Bar

Java News

JEP targeted to JDK 25: 520: JFR Method Timing & Tracing

By Erik Gahlin on July 25, 2025

The following JEP is targeted to JDK 25: 520: JFR Method Timing & Tracing

Read More
A Sneak Peek at the Stable Values API

By Per-Ake Minborg on July 22, 2025

Some internal JDK classes rely heavily on the annotation jdk.internal.vm.annotation.@Stable to mark scalar and array fields whose values or elements will change at most once, thereby providing crucial performance, energy efficiency, and flexibility benefits. But the powerful @Stable annotation cannot be used directly in Java applications, thereby severely restricting its applicability. The StableValue API rectifies this imbalance between internal and client code by providing safe wrappers around the `@Stable` annotation. Hence, all the important benefits of @Stable are now made available to regular Java developers and third-party library developers. Learn how to create lazy Lists and Maps with the same performance as if their elements were constant values!

Read More
JEP targeted to JDK 25: 518: JFR Cooperative Sampling

By Markus Gronlund on July 21, 2025

The following JEP is targeted to JDK 25: 518: JFR Cooperative Sampling

Read More
Java Security Evolution - Out with the Old, In with the New

By Sean Mullan on July 20, 2025

Security is a dynamic science. Over time, cryptographic protocols and algorithms inevitably weaken, and new ones are created to replace them. Security risks also change as new threats emerge while old ones may decrease in severity or relevance. In this session, we will describe how we embrace these changes by continuously evolving the security of the Java Platform. We will explain why we permanently disabled the Security Manager in JDK 24 and the impact it may have on your applications or libraries. We will show you how we are enhancing the security of your applications by adding support for quantum-resistant algorithms in JDK 24. Finally, we will describe several enhancements planned for the near future.

Read More
JEP targeted to JDK 25: 515: Ahead-of-Time Method Profiling

By Igor Veresov, John Rose on July 18, 2025

The following JEP is targeted to JDK 25: 515: Ahead-of-Time Method Profiling

Read More
Java Gets a JSON API - Inside Java Newscast #95

By Nicolai Parlog on July 17, 2025

Java considers itself a "batteries included" language and given JSON's ubiquity as a data exchange format, that means Java needs a JSON API. In this episode we go over an OpenJDK email that kicks off the exploration into such an API.

Read More
Java GPGPU Enablement: Are We There Yet?

By Gary Frost on July 14, 2025

To solve data-parallel problems in Java, developers need to express multi-kernel algorithms in Java and have these kernels efficiently exchange data with each other and with the JVM. In this talk, we will introduce HAT (Heterogeneous Accelerator Toolkit) and demonstrate how HAT leverages recent and proposed Java enhancements (Panama and Babylon) to provide Java developers access to untapped GPU potential.

Read More
ZGC - Paving the GC On-Ramp

By Erik Osterlund on July 10, 2025

The Z Garbage Collector is an advanced concurrent automatic memory management system for HotSpot. When the system is appropriately configured, it can really work miracles. However, a poorly configured system is susceptible to various common performance issues and pitfalls. This session will dig deeper into some of these pitfalls. It will teach the audience how to avoid the pitfalls today, but it will also talk about ongoing work within ZGC, aiming to solve these problems, so that the user can get a better experience out of the box without having to learn about any ZGC configuration quirks.

Read More
Simplifying Java Runtime Setup in OCI Cloud Shell with the Java Download Toolkit

By Sanju Nair on July 9, 2025

Setting up the right Java version in a cloud-based development environment is an important task that many developers run into. Until recently, Oracle Cloud Infrastructure (OCI) Cloud Shell supported only a limited set of pre-installed Java runtimes. If you needed a different version—say for testing compatibility, debugging, or aligning with production environments—you were required to manually download, upload, extract, and configure the runtime. This manual process was not just tedious but also error-prone. To address this challenge, a more robust and automated solution was introduced to simplify and automate the process of acquiring and configuring Java runtimes within OCI Cloud Shell.

Read More
Marshalling: Data-Oriented Serialization

By Viktor Klang on July 8, 2025

In this presentation, we will explore how a changed set of requirements and constraints, paired with recent enhancements of the Java Language, can lead to a dramatically simpler and safer model for programmatically reasoning about the structure of Objects, and offers greater flexibility in state extraction, encoding, and reconstruction.

Read More


Sourced from https://inside.java via RSS.