~/talk

Project Valhalla Update

Talkat Jfokus 2025 · 2025-02-03..02-05· [java]
slides:none on file

Project Valhalla introduces value classes (the new value modifier) and a non-nullability plan (JEP 401 starts the work) to let the JVM flatten and densify layouts, migrate Integer Optional and LocalDate to value semantics, and avoid boxing in many cases. The JVM hoists fields into registers, uses optimized calling conventions, and shows throughput gains like 3x–12x in prototypes. The roadmap includes non-nullable types and later cleanup JEPs for primitive parity and generics specialization.

AI-written summary · about

  1. 0:00Introduction
  2. 0:33What is Project Valhalla
  3. 2:38Memory layout challenges
  4. 5:54The rift between types
  5. 10:41The life cycle of a feature
  6. 14:31Object identity
  7. 17:19Value classes
  8. 23:13Null restricted types
  9. 28:37Initialization and safety
  10. 34:29Tearing and atomicity
  11. 37:41Simplifying the model
  12. 44:41Future work and cleanup
  13. 47:18Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.