Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Inside Java

Inside Java artwork

"Immutable Data Beyond Value Classes" [AtA]

Oct 29, 202654 minAudioSeason 3, Episode 25
ShareXLinkedInFacebookWhatsAppEmail

Object-Oriented Programming offers a lot of flexibility for modelling diverse domains but not all elements need that flexibility. Data, specifically, is often better modeled by simple, immutable types and while OOP does not prevent that, it can make it a bit cumbersome. So in recent and coming years, Java has gained and will gain a number of features that improve the situation: From flexible constructor bodies to records and value classes, from withers to lazy constants, and more - they all stand on their own, but they also come together to allow us to more expressively and elegantly define, construct, copy, and access immutable data. In this "Ask the Architects" episode of the Inside Java Podcast, recorded during JavaOne 2026, Nicolai Parlog talks to Dan Smith, contributor to projects Amber and Valhalla and Senior Java Platform Developer at Oracle. Show Notes: Better Tools for Immutable Data: https://www.youtube.com/watch?v=BdLND9D81lI JEP 513: Flexible Constructor Bodies: https://openjdk.org/jeps/513 JEP 401: Value Objects (Preview): https://openjdk.org/jeps/401 JEP 468: Derived Record Creation (Preview): https://openjdk.org/jeps/468 JEP 547: Lazy Constants (Fourth Preview): https://openjdk.org/jeps/547

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. "Adaptive Heap Sizing + Numeric Conversion + Primitive Patterns" [IJN]

    Nov 14, 20269 minAudio

    JDK 28's adaptive heap sizing for ZGC dynamically balances CPU use and memory consumption with close-to-zero configuration. Value classes introduce new challenges for conversions between custom numeric types, which type...

    Credit the people on this episode

  2. "Valhalla? AI? Better Modules? String Templates?" [AtA]

    Nov 5, 202646 minAudio

    This episode of the Inside Java Podcast is the Ask the Architect session from Devoxx Belgium 2026, where the audience members literally asked the Java architects their questions. They inquired about custom virtual...

    Credit the people on this episode

  3. "OpenJDK Bug Fixing + JavaOne + JDK 28" [IJN]

    Oct 17, 20268 minAudio

    On August 18th, 2026 a mail pops up on the hotspot-compiler-dev mailing list and it describes something that is not supposed to happen: a serious new bug in a JDK release candidate phase, just a few weeks before general...

    Credit the people on this episode

  4. "Security in Java" [AtA]

    Sep 24, 202633 minAudio

    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 Security Group, which...

    Credit the people on this episode

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

    Sep 17, 20261 hr 11 minAudio

    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-circuit many...

    Credit the people on this episode