~/talk

An Introduction to JVM Performance

Talkat GOTO Oslo 2020 · 2020-03-03..03-05· [java]
slides:none on file

Explains how HotSpot turns bytecode into machine code via tiered JIT and uses runtime profiling to apply speculative optimizations, with 90% of call sites becoming monomorphic so direct links and heavy call-site inlining unlock further optimizations (unrolling, devirtualization, escape analysis). Shows how biomorphic/megomorphic sites and overridden anonymous subclasses kill inlining, gives logging and collection-iterator examples, contrasts JIT vs AOT for startup, and highlights branch prediction and escape analysis effects.

AI-written summary · about

  1. 0:00Start
  2. 3:24How Does How Does the Jvm Process Bytecode
  3. 8:03Building Block of a Call Site
  4. 14:25Linked Call Sites
  5. 21:32Ahead of Time Compilation
  6. 25:04Double Brace Initialization
  7. 34:37Branch Prediction
  8. 37:42Escape Analysis
~/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.