~/talk

The Sea of Nodes and the HotSpot JIT

Talkat Joker 2019 · 2019-10-25..10-26· [compilers-and-language-design, java]
links:none on file
slides:none on file

HotSpot C2 uses a compact graph IR called Sea of Nodes that stays in SSA form even through register allocation and scheduling, and C2-generated code runs roughly 99% of executed Java bytecodes worldwide and likely trillions of times per day. Optimizations are mostly local peephole graph-rewrites plus a global, monotonic GCP/type solver over hash-consed immutable types. Practical wins: aggressive inlining + inline caches, range-check peeling and unzipping, deoptimization for heroic fast-paths, and an expensive register allocator that tolerates heavy inlining.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:17Sea of Nodes IR design
  3. 8:59Control flow in the graph
  4. 12:10Compiler passes and optimizations
  5. 17:50Peephole optimizations
  6. 21:45Type system and lattice
  7. 27:43Global constant propagation
  8. 33:22Inlining strategies
  9. 36:57Code motion and allocation
  10. 41:10Java-specific optimizations
  11. 48:38Heroic optimizations and deoptimization
  12. 51:11Deoptimization philosophy
  13. 53:58Safe points and debugging
  14. 57:11Summary and legacy
~/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.