"Efficient Initialization Using Stable Values" with Per Minborg
Inside Java9 Juni 2025

"Efficient Initialization Using Stable Values" with Per Minborg

The Stable Values API is a preview feature in Java 25 that allows developers to define immutable objects that are initialized at most once. It combines the flexibility of lazy initialization with the performance advantages of final fields.

In this episode, Ana hosts Per Minborg, a member of the Java Core Library team at Oracle and co-author of JEP 502 on Stable Values. Per explains the concept behind Stable Values and how this approach addresses the drawbacks of eager initialization in Java. By deferring the creation of expensive resources until they are actually needed, Stable Values contribute to more efficient application startup. He also discusses the design process and specifics of the API, highlighting its benefits in multi-threaded environments—particularly its ability to ensure thread-safe, at-most-once initialization without the need for complex synchronization mechanisms.

Det här avsnittet är hämtat från ett öppet RSS-flöde och publiceras inte av Podme. Det kan innehålla reklam.

Avsnitt(71)

"Security in Java" [AtA]

"Security in Java" [AtA]

Given how prevalent Java is on web servers throughout the internet, security in Java is of critical importance. There's the security of the JDK itself, of course, which is overseen by the OpenJDK Secu...

24 Sep 33min

"AOT Caching - Netflix' Practice vs OpenJDK's Theory" [I/O]

"AOT Caching - Netflix' Practice vs OpenJDK's Theory" [I/O]

Java projects that want to reduce their launch times need to look into Java's new ahead-of-time capabilities. A training run is used to populate a cache that, in production, allows the JVM to short-ci...

17 Sep 1h 11min

"Declassifying the Java 27 Release!" [IJN]

"Declassifying the Java 27 Release!" [IJN]

Java 27 is heading for release on September 15th. As with every release of the JDK there are a host of changes that will impact developers, from new features, to changes in behavior of existing featur...

10 Sep 15min

"Operator Overloading with Type Classes" [AtA]

"Operator Overloading with Type Classes" [AtA]

OpenJDK's Project Valhalla is improving Java's support for custom numerical types. That goes beyond value types and also encompasses explorations into operator support. While Java is extremely unlikel...

27 Aug 41min

"Keeping Up with the Java Release Train" [I/O]

"Keeping Up with the Java Release Train" [I/O]

20 Aug 34min

"JSON API, Valhalla Progress, LTS ❤️ PQC" [IJN]

"JSON API, Valhalla Progress, LTS ❤️ PQC" [IJN]

JEP 540 proposes to incubate a simple JSON API and is currently proposed to target JDK 28. The pull request for Project Valhalla's JEPs 401 and 539 were merged and value types are available as a previ...

15 Aug 10min

"Embracing Virtual Threads with Helidon" [I/O]

"Embracing Virtual Threads with Helidon" [I/O]

Helidon 4.4 was released in April 2026 and stands out from other web frameworks by embracing new Java features as early as possible, particularly virtual threads and ahead-of-time computation. It is a...

6 Aug 14min

"JIT Compiler From the Ground Up" [AtA]

"JIT Compiler From the Ground Up" [AtA]

While Java programs are deployed as bytecode, performance-relevant code will be compiled, at run time, to machine code whose performance rivals that of any other platform. In the HotSpot JVM, this is ...

30 Juli 45min

Populärt inom Teknik

uppgang-och-fall
elbilsveckan
bilar-med-sladd
market-makers
vi-bilagares-podcast
rss-ai-med-jonas-benjamin
rss-snacka-om-ai
natets-morka-sida
rss-laddstationen-med-elbilen-i-sverige
skogsforum-podcast
rss-technokratin
rss-elektrikerpodden
rss-en-ai-till-kaffet
bli-saker-podden
rss-veckans-ai
rss-uppgang-och-fall
gubbar-som-tjotar-om-bilar
developers-mer-an-bara-kod
hej-bruksbil
rss-upplyst-entreprenordirektor