Java on CRaC Superfast JVM Application Startup
summary
CRaC implements checkpoint/restore for JVMs inside OpenJDK using Linux’s CRIU to snapshot a warmed JVM, adding a Resource API with beforeCheckpoint/afterRestore callbacks and a jcmd interface; proof‑of‑concept runs on Linux x86_64 and is not yet production ready. Measured results show full performance restored in milliseconds: Spring Boot 4 s → 38 ms, Micronaut 1 s → 46 ms, Quarkus ~980 ms → 33 ms. Checkpoints abort if files or sockets remain open; snapshots are created and restored successfully in the demo.
AI-written summary · about
chapters (8)
- 0:00Introduction to CRaC
- 4:16Why Java is popular
- 11:03JVM warm-up challenges
- 22:57AOT vs JIT compilation
- 27:49Introducing CRaC
- 37:59CRaC benefits and limitations
- 40:07Live demonstration
- 49:16Future of CRaC
related talks
53mJava on CRaC: Superfast JVM Application Startup
53mWhat the CRaC Superfast JVM startup
46mCRAC vs GraalVM
45mOptimizing Java Startup and Warmup: Exploring the Power of CRaC on Embedded
47mFast JVM Startup with Checkpoint & Restore
48mDecoding Java snapshots with CRaC
40mKotlin on CRaC – new JVM features to speed things up
52mDuke on CRaC with Jakarta EE
