What the CRaC Superfast JVM startup
summary
CRaC (Coordinated Restore at Checkpoint) uses a patched OpenJDK (demo build jdk 17.0.2) plus CRIU to snapshot a warmed JVM to disk and restore it later; startup on Linux x64 containers falls from seconds to ~30–50 milliseconds in the demos. The project adds a checkpoint/restore API (Resource with beforeCheckpoint and afterRestore), a global context for registration and reversed teardown order, and CLI flags to write/restore snapshots; checkpoints shut down the JVM, require handling time‑dependent state, and are CPU‑architecture sensitive.
AI-written summary · about
chapters (13)
- 0:00Start
- 5:17LEVELS OF EXECUTION
- 6:23EXECUTION CYCLE
- 7:10DEOPTIMISATION
- 9:06JVM STARTUP
- 11:00JVM PERFORMANCE GRAPH
- 16:52AOT VS JIT
- 21:40CRIU CHALLENGES
- 30:31SIMPLE EXAMPLE
- 38:01CREATING A CHECKPOINT
- 40:26COMPATIBILITY...
- 44:42SUMMARY...
- 45:16INFRASTRUCTURE COST
related talks
51mJava on CRaC Superfast JVM Application Startup
53mJava on CRaC: Superfast JVM Application Startup
48mDecoding Java snapshots with CRaC
45mOptimizing Java Startup and Warmup: Exploring the Power of CRaC on Embedded
46mCRAC vs GraalVM
47mFast JVM Startup with Checkpoint & Restore
51mExploring the Power of CRaC on Embedded
59mOpenJDK Project CRaC (Coordinated Restore at Checkpoint): Challenges and Issues
