~/talk

What it means to be Just In Time

Talkat SpringOne2GX 2015 · 2015-09-14..09-17· [java]
links:none on file
slides:none on file

Explains what the JVM actually does: JIT chooses hot methods and applies method inlining and dead‑code elimination; uses JMH microbenchmarks and JVM flags (-XX:+PrintCompilation, -XX:+PrintInlining, PrintAssembly) plus JITWatch and the HotSpot disassembler to verify optimizations. Shows escape analysis removing heap allocations (0 GC vs ~5,500 GC events, ~2ns vs ~5.5ns), polymorphism cost when 3+ types raises per‑call latency (~5.5ns→~8ns), and safepoint pauses from array copies jumping to ~62ms. Provides concrete flags and measurements to reproduce.

AI-written summary · about

  1. 0:00Introduction to JIT
  2. 1:13JIT vs static compilation
  3. 3:44JVM interpreter and profiling
  4. 7:37Verifying JIT with JMH
  5. 11:55Debugging JIT optimizations
  6. 16:30Inlining optimization
  7. 20:45Dead code elimination
  8. 27:40Escape analysis
  9. 31:20Polymorphism optimization
  10. 39:24Safe points in JVM
  11. 51:59Summary and key takeaways
~/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.