ReadyNow — an «AOT» with profiling for Java
summary
ReadyNow stores the compiler inputs as a compilation log and a profile cache (about 30 MB typical) and replays merged live+recorded profiles to trigger early C1/C2/Falcon compiles when class fingerprints and init prerequisites match. Result: uncommon traps drop ~60%, retired/failed compilations fall ~75%, startup runs at ~60–80% of peak and first transaction latency can be ~1 ms (customer reported 3 ms, 2 ms, 0.5 ms). Workarounds include eager class loading, fingerprinting, init checks and an upcoming JIT cache.
AI-written summary · about
chapters (17)
- 0:00Introduction to ReadyNow
- 1:06Background on Azul and Zing JVM
- 3:55Warm-up problem in Java
- 8:08HotSpot compilation tiers
- 11:40ReadyNow concept and design
- 17:51Merging live and recorded profiles
- 21:53Challenges of Java ahead-of-time compilation
- 26:52Lazy class initialization issues
- 31:09Class loading and initialization tracking
- 37:37Version 1 results and improvements
- 38:40Eager loading and initialization
- 41:57Startup time vs. warm-up goals
- 43:00Class loader pitfalls
- 48:02Class generation and matching engine
- 53:55Falcon and initialization dependencies
- 57:03Performance results and customer feedback
- 58:56Summary of ReadyNow
