~/talk

Lambda Forms

slides:none on file

Hotspot refactors JSR 292 by replacing ad-hoc per-argument assembly stubs with a compact IR called lambda forms, moves most call-shuffling out of the VM into the JDK, and removes the brittle adapter method handles layer. The change deletes about 13,000 lines removed of VM code (net ~8,000 fewer), leaves a one‑page linker surface, and yields measurable wins—some workloads (tic‑tac‑toe example) run ~80% faster while class‑loader failures largely disappear.

AI-written summary · about

  1. 0:00Intro
  2. 1:29Method Handles in JDK 7: The Good
  3. 2:55Method Handles in JDK 7: Not-so-good
  4. 4:19Method Handles in JDK 7: The Ugly
  5. 7:45Rendering MHs to bytecodes (JDK 7)
  6. 10:21Bytecode rendering only for constants
  7. 12:30JVM Entanglement
  8. 13:39JVM Dis-entanglement
  9. 15:36Key IR requirements
  10. 17:08Inspiration
  11. 19:02Lambda Form IR (in one page)
  12. 21:10LF type system
  13. 22:31What's in a Name?
  14. 23:53Lambda Form Execution
  15. 24:34Lambda Form AST interpreter
  16. 26:03Lazy Method Handle interpretation
  17. 28:41Example 1: swap arguments
  18. 29:59Bound Method Handles
  19. 30:31Example 1B: swap arguments
  20. 31:40Example 2B: return a constant value
  21. 31:54Direct Method Handles
  22. 32:59Direct Method Handle "Linkers"
  23. 35:08call a regular method
  24. 36:24Metacircularity (bootstrapping)
  25. 36:56Bytecode call sites for JSR 292
  26. 39:22Linking MH. invokeExact
  27. 40:19Linking invokedynamic
  28. 40:48function composition
  29. 41:53Status
  30. 42:34Future work
~/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.