~/talk

The Virtual Machine Under the Hood

TalkinPolishat Confitura 2023 · on Saturday, 2023-06-24· [java, compilers-and-language-design]
links:none on file
slides:none on file

Explains how the JVM uses three compilers—javac to bytecode, C1 for quick compilation, and C2 for later profile-guided optimization—combined with tiered compilation (tiers 0–4) that promotes or deoptimizes methods based on call/loop counters. Covers GraalVM’s native-image option for faster startup and smaller heaps and the Java-based Graal compiler (with 62 optimizations), and notes JEP 410’s removal of Graal from the JDK bundle while keeping JVMCI and external use available.

AI-written summary · about

  1. 0:00JVM intro
  2. 1:05What is JVM
  3. 2:30Compilation trade-offs
  4. 5:21JIT compilation
  5. 7:30C1 C2 roles
  6. 9:45Client vs server JVM
  7. 13:21Tiered compilation
  8. 16:55Tiered compilation practice
  9. 19:50Where code compiles
  10. 22:23Understanding hotspots
  11. 24:12JVM tuning flags
  12. 26:03GraalVM intro
  13. 27:49GraalVM native image
  14. 29:34Graal compiler
  15. 33:07JEP 410 changes
  16. 35:17Java compilation recap
  17. 36:42Q&A
  18. 38:48Q&A
  19. 39:10Q&A
~/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.