CRIU and Java opportunities and challenges
summary
CRUI copies full Linux process state and a JNI-based Java helper builds checkpoint.jar that triggers precise, reproducible saves; Byteman rules let teams insert byteman injected checkpoints into legacy code without recompiling. A toy random-number service boots from scratch in 4.5 minutes but restores from image in 4.5 minutes → <1 second, and running four restored clones shows footprint halved across restores due to shared pages. Restores take hundreds of milliseconds, require Linux (root today) and matched files/arch, and offer hooks for GC, networking and replay.
AI-written summary · about
chapters (35)
- 0:00Intro
- 0:40Welcome
- 2:10Checkpoint
- 3:12Running multiple JVMs
- 3:38Running a program
- 4:26Improved footprint
- 5:37Experiments
- 7:20CheckpointRestore
- 8:16Command lines
- 9:40Checkpoint files
- 10:45Adding hooks
- 11:10Setting up hooks
- 11:25Adding Java code
- 11:55Biteman rule
- 13:14How to trigger the checkpoint
- 13:50Adding a checkpoint to a method
- 15:42Pointing
- 17:22Open Source
- 17:40C Interface
- 18:07Challenges
- 19:03Root access
- 20:52Checkpoints
- 22:07How long does it take
- 23:39Opportunities for Java
- 24:27Challenges for future work
- 26:11Contact Christine
- 26:29Download Repository
- 27:02Log File
- 28:25Disadvantages
- 31:09Restoring a saved image
- 32:47Restoring on another host
- 33:53No mechanism in place
- 36:22Linux box
- 38:41Page savings
- 40:13GC threats
