Java News
JEP targeted to JDK 25: 520: JFR Method Timing & TracingThe following JEP is targeted to JDK 25: 520: JFR Method Timing & Tracing
Read MoreA Sneak Peek at the Stable Values API
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 MoreJEP targeted to JDK 25: 518: JFR Cooperative Sampling
The following JEP is targeted to JDK 25: 518: JFR Cooperative Sampling
Read MoreJava Security Evolution - Out with the Old, In with the New
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 MoreJEP targeted to JDK 25: 515: Ahead-of-Time Method Profiling
The following JEP is targeted to JDK 25: 515: Ahead-of-Time Method Profiling
Read MoreJava Gets a JSON API - Inside Java Newscast #95
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 MoreJava GPGPU Enablement: Are We There Yet?
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 MoreZGC - Paving the GC On-Ramp
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 MoreSimplifying Java Runtime Setup in OCI Cloud Shell with the Java Download Toolkit
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 MoreMarshalling: Data-Oriented Serialization
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 MoreSourced from https://inside.java via RSS.