---
title: "Better Tools for Immutable Data"
url: https://daily.dev/posts/better-tools-for-immutable-data-tj6xodwl3
source_url: https://www.youtube.com/watch?v=BdLND9D81lI
type: video:youtube
source: "Java (Official Oracle)"
published: 2026-06-21T10:29:19.326Z
updated: 2026-06-21T12:41:33.914Z
tags: ["java", "jvm", "jdk"]
reading_time: 50
upvotes: 2
comments: 1
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Better Tools for Immutable Data

**[Java \(Official Oracle\)](https://daily.dev/sources/java-oracle)** · 50 min read · 2 upvotes · 1 comments

## Summary

We'll review new and upcoming Java features that improve the convenience, reliability, and performance of immutable data, including:

- Records, record patterns, and derived record creation
- Value classes and objects
- Early field initialization with flexible constructor bodies
- The lazy constants API
- Initialization diagnostics for static final fields
- Unsafe reflective mutation or deserialization and the marshalling API as an alternative
- In the future: immutable arrays?

We'll discuss how these features complement each other, what sorts of JVM optimizations they enable, and how to decide when they're a good fit for an application.

Presented by Dan Smith (Oracle) at JavaOne 2026 (CA, March 2026).

See also https://youtu.be/fFocVFEe2TI

All https://www.youtube.com/playlist?list=PLX8CzqL3ArzUMVSzm-z_-if8BIB55EGl4 talks.

* https://openjdk.org/projects/amber/
* https://inside.java/tag/amber
* https://openjdk.org/projects/valhalla/
* https://inside.java/tag/valhalla

Tags: #Java #JavaOne

LRN1438 18 203

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=BdLND9D81lI>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#java](https://daily.dev/tags/java), [#jvm](https://daily.dev/tags/jvm), [#jdk](https://daily.dev/tags/jdk)

[View this post on daily.dev](https://daily.dev/posts/better-tools-for-immutable-data-tj6xodwl3)
