Simple Tweaks to Get the Most Out of Your JVM
summary
Shows measured wins and actionable flags: enabling -Xshareclasses cuts startup from ~12s to ~2s in the demo and reduces Docker startup from ~7s to ~2s, OpenJ9 advertises ~51% faster startup and ~50% smaller footprint after startup versus HotSpot, and Open Liberty boots around 1s. Use profiling, start with a small heap and raise it only as needed, enable remote JIT server for constrained (200MB) environments to keep throughput, experiment with AOT/native (Graal) and cryo snapshots to reach ~0.2s cold start.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:47Why JVM matters
- 6:39Cloud impact on JVMs
- 15:51Main JVMs overview
- 23:14Choosing the right runtime
- 27:53Tweaking the JVM
- 33:54Profiling and garbage collection
- 35:18Class data sharing
- 38:46Live demo of class cache sharing
- 41:57Idle tuning and JIT server
- 43:42Future tech: Cryo
- 44:45Recap and conclusion
related talks
42mSimple tweaks to get the most out of your JVM
06mSimple Tweaks to Get the Most Out of your JVM
42mTechniques for a faster JVM start-up
52mTechniques for a faster JVM start-up
33mCloud Native Java with OpenJ9: Fast, lean and definitely mean
01h 03mKeeping Your Java Hot.
46mKeeping Your Java Hot by Solving the JVM Warmup Problem
53mFour Approaches to Reducing Java Startup Time
