~/talk

VM Design Choices

Talkat JVM Language Summit 2015 · 2015-08-10..08-12· [java]
links:none on file
slides:none on file

HotSpot evolves from a single-threaded Self port into a complex VM where choices matter: an untrusted JNI call costs ~40–50 instructions because of handle shuffles and stack/PC stores; a stage zero JIT (template code) speeds startup at the cost of bulk code; safe points plus a compact state map let the server compiler stretch optimization regions and enable a deoptimization that inlines non-final methods without a static “line in the sand”; heavyweight C2 with a graph-coloring allocator and safe points yields C-like peak performance; frame-adapter stacks and C++ mixed oops are painful and avoided now.

AI-written summary · about

  1. 0:00Intro
  2. 1:18The nature of this talk
  3. 2:20Choices to make
  4. 3:15Obvious choices
  5. 5:26Interpreter choices
  6. 6:50Optimization choices
  7. 8:30Stage Zero Jets
  8. 9:27GC Choices
  9. 10:39Safe Points vs Stop Anywhere
  10. 13:23Multithreading
  11. 15:48Atomic Operations
  12. 19:11Native Calls
  13. 21:18Native oops
  14. 21:58Hiding oops
  15. 22:14Stack Crawls
  16. 23:27Active GC
  17. 23:58Night Calling Convention
  18. 24:42Native Call
  19. 26:15Safe Points
  20. 28:40Heavyweight
  21. 34:59Debugging Flags
  22. 36:40Thin Locks
  23. 37:31Java Memory Model
  24. 39:15Deopt
  25. 39:52Inline Cache
  26. 42:40HotSpot
  27. 43:50Azula
  28. 44:49TLB
  29. 45:48ThreadLocal Storage
  30. 47:22Transactional Memory
  31. 52:17Safepoints
  32. 54:20Adapter frames vs Frame adapters
  33. 55:19Inlining constant OOP
  34. 56:22Locking objects
~/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.