"Efficient Initialization Using Stable Values" with Per Minborg
Inside Java9 Jun 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.

Denne episoden er hentet fra en åpen RSS-feed og er ikke publisert av Podme. Den kan derfor inneholde annonser.

Episoder(59)

"Java *is* Memory Efficient" with Ron Pressler [AtA]

"Java *is* Memory Efficient" with Ron Pressler [AtA]

Java's use of memory, often chided for being excessive, is actually a strength as it trades more memory use for fewer CPU cycles. Java can only make this tradeoff due to its moving garbage collectors,...

28 Mai 35min

"Java Gets Post-Quantum TLS" [IJN]

"Java Gets Post-Quantum TLS" [IJN]

With JDK 27 introducing hybrid key exchange schemes that combine ML-KEM with traditional ECDHE algorithms, Java applications can gain TLS-layer protection against the harvest-now, decrypt-later threat...

18 Mai 4min

"Make Java Safer with Flexible Constructor Bodies" [IJN]

"Make Java Safer with Flexible Constructor Bodies" [IJN]

Flexible constructor bodies were added to Java 25 with JEP 513. In this episode of the Inside Java Newscast Billy Korando will review the issues with how constructors used to work before Java 25, eith...

5 Mai 7min

"Ask the Architects at JavaOne'26" [AtA]

"Ask the Architects at JavaOne'26" [AtA]

In JavaOne 2026's closing session, audience members had the opportunity to ask the Java architects questions. They asked about the state of structured concurrency and Project Babylon, how Java is bein...

23 Apr 58min

"You Must Avoid Final Field Mutation" [IJN]

"You Must Avoid Final Field Mutation" [IJN]

With JDK 26 / JEP 500 starting to prevent final field mutation through reflection, it is important that Java projects stop employing that practice. For more, check https://inside.java/podcast

16 Apr 9min

"How JDK 26 Improves G1's Throughput" [AtA]

"How JDK 26 Improves G1's Throughput" [AtA]

G1 is Java's default garbage collector in most environments, and its throughput has been considerably improved in JDK 26 by streamlining its write barriers. This conversation explores the background o...

9 Apr 17min

"Analyzing Crashed JVMs" [IJN]

"Analyzing Crashed JVMs" [IJN]

The Java tool jcmd ("j command") sends diagnostic commands to the JVM, which will react by supplying the desired information: from finalizer queues to heap and thread dumps, from GC insights to virtua...

4 Apr 4min

"Java Carrier Classes & Discussing Syntax" [AtA]

"Java Carrier Classes & Discussing Syntax" [AtA]

Carrier classes are Project Amber's current idea to extend some of records' benefits to regular classes. Probably the most important among them is deconstruction, which would allow classes to particip...

26 Mar 46min

Populært innen Teknologi

lydartikler-fra-aftenposten
romkapsel
teknisk-sett
energi-og-klima
tomprat-med-gunnar-tjomlid
elektropodden
nasjonal-sikkerhetsmyndighet-nsm
hans-petter-og-co
shifter
pedagogisk-intelligens
rss-anleggspraten
teknologi-og-mennesker
rss-snakk-om-sikkerhet
rss-plateprat
rss-ai-forklart
fornybaren
rss-digitaliseringspadden
rss-30-minutter-inn-i-fremtiden
rss-alt-som-gar-pa-strom
rss-heis