Add crac module: Spring Boot 4.2 started by CRaC checkpoint/restore vs JDK AOT cache vs native image

One service, seven start-up configurations measured over ten interleaved rounds on Temurin 25, Zulu 25 CRaC and Oracle GraalVM 25;
the open-file checkpoint failure and its fix, stale environment values, secrets in the checkpoint, warp and CRIU engines, cold page cache.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b5uEyg58znuchZ8C8i
This commit is contained in:
asmhatre
2026-11-29 13:47:06 +05:30
co-authored by Claude Sonnet 5.5
parent de2660e998
commit fd6a358a6d
33 changed files with 874 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
files in the JDK's lib directory that belong to CRaC:
criu
criuhelper
libcriuengine.so
libsimengine.so
libwarp.so
engine recorded in the default checkpoint (cp-refresh/engine): warp
process capabilities (CapEff): 000001fffeffffff, uid 0
== -XX:CRaCEngine=warp, checkpoint at start-up then restore
checkpoint directory: core.img engine (2 files); size: 117 MB
RestoreTracker: beforeCheckpoint
[6.049s][info][crac] Checkpoint ...
3828.835224: warp: Checkpoint 20514 to <work>/cp-eng-warp
3828.918895: warp: error: Cannot reset arguments to (-->)00007fff117eb075-00007fff117eb166: Operation not permitted
3828.918912: warp: error: Cannot reset arguments to 00007fff117eb075-00007fff117eb166(<--): Operation not permitted
3828.920350: warp: Checkpoint successful!
restored; GET /ping -> pong; Restored CracDemoApplication in 0.186 seconds (process running for 0.187)
== -XX:CRaCEngine=criuengine, checkpoint at start-up then restore
checkpoint directory: core-20623.img core-20625.img core-20626.img (39 files); size: 113 MB
RestoreTracker: beforeCheckpoint
[3.601s][info][crac] Checkpoint ...
restored; GET /ping -> pong; Restored CracDemoApplication in 0.193 seconds (process running for 0.195)