~/talk

The sinuous path toward Valhalla

Talkat Joker 2019 · 2019-10-25..10-26· [java]
github:forax
slides:none on file

Project Valhalla adds inline objects as value types that are non‑null and immutable, claiming big cache and pointer‑dereference savings and showing JMH cases where arrays of inline wrappers match primitive arrays. Implementation uses new bytecode descriptors (Q for inline types) and two opcodes (default_value and withfield), plus prototypes MVT and LWorld available as early‑access builds. Remaining work: erased generics break (requires lightweight boxing via sealed interfaces), equals== semantics, array/JIT checks and concurrency corner cases; preview JDK target but not yet final.

AI-written summary · about

  1. 0:00Start
  2. 4:20At Java inception
  3. 7:11Inline object (first draft)
  4. 9:10Aliasing issue in C/C++
  5. 11:01Inlineable
  6. 18:40Open JDK projects dependency Panama - Vector API (SIMD, AVX support)
  7. 25:46Object = root of every objects
  8. 26:33L-world conversion
  9. 27:28Problem: class late loading
  10. 28:18Inline class loading but inline classes need to be loaded early - memory layout - method caling sequence
  11. 31:28Problem: class initialization
  12. 41:12Problem: array covariance
  13. 44:28No identity, == (aka acmp)
  14. 46:22Problem: erased generics
  15. 51:17Inline class - preview
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.