~/talk

Benchmarking JVM Warm-Up Performance

Talkat Conf42 Enterprise Software 2021 · 2021-03-25..05-05· [java]
linkedin:frank-kriegl
slides:none on file

Benchmarks compare HotSpot (AdoptOpenJDK), GraalVM 20.2 and OpenJ9 using a JMH Sudoku backtracker run for 21,000 iterations, 20 forks and 12 runs (5.04 million solves per JVM) on an Ubuntu VM (8 vCPU, 8 GB). Epsilon/no-op GC and pre-touch flags minimize interference. OpenJ9 warms fastest initially — ~150 iterations for a 90% drop vs HotSpot ~700 iterations — but HotSpot and Graal outperform OpenJ9 after ~600 iterations. OpenJ9 AOT starts at peak speed; JITWatch and runtime logs show early inlining as the main warm-up driver.

AI-written summary · about

  1. 0:00JVM warm-up benchmarking intro
  2. 1:19JVM internals and warm-up
  3. 2:25Compare JVM warm-up performance
  4. 4:32Java heap and GC
  5. 6:41JIT vs AOT compilation
  6. 8:25Pitfalls in Java benchmarks
  7. 11:33JMH to avoid flaws
  8. 12:58Custom JVM warm-up test
  9. 13:39Test setup details
  10. 15:51JVM configs for benchmarking
  11. 18:40Warm-up test results
  12. 19:42HotSpot JVM warm-up
  13. 20:48GraalVM warm-up
  14. 21:50OpenJ9 warm-up behavior
  15. 23:36Compare JVM execution times
  16. 24:41Warm-up speed differences
  17. 27:09AOT vs JIT impact
  18. 27:52JIT compiler actions
  19. 30:41Conclusion
~/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.