~/talk

Valhalla Update

Talkat JVM Language Summit 2019 · 2019-07-29..07-31· [java]
slides:none on file

Project Valhalla publishes an L2 EA build (jdk.java.net/valhalla) that provides usable inline classes: arrays of value types are covariant with object[], calling conventions scalarize values between methods, and the VM routinely flattens values or keeps pointers when large. New bytecodes default_value and with_field implement value construction as static factories. Early JMH-style runs show big wins (matrix ~6x, points ~3.5x, stream ~12x, immutable accumulator ~8x, allocation ~1000x). Open issues: equality semantics, locking, identity hash, weak refs, nullability and migration and specialized generics.

AI-written summary · about

  1. 0:00Project Valhalla overview
  2. 0:54The problem with objects
  3. 3:37Who benefits from value types
  4. 5:53From Q-world to L-world
  5. 8:44Benefits and costs of L-world
  6. 12:04Current prototype status
  7. 14:01Performance benchmarks
  8. 18:35Programming model details
  9. 22:11Default values and flattening
  10. 25:54Generics and new types
  11. 29:12Nullity, equality, and wrap-up
~/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.