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:51:08 +05:30
co-authored by Claude Sonnet 5.5
parent de2660e998
commit c0062ea398
33 changed files with 882 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Build the jar once and extract it to the layout every start-up variant uses.
set -euo pipefail
source "$(dirname "$0")/env.sh"
cd "$ROOT"
JAVA_HOME="$JDK_PLAIN" PATH="$JDK_PLAIN/bin:$PATH" mvn -B -q -DskipTests clean package
rm -rf "$WORK/app"
run_env "$JDK_PLAIN/bin/java" -Djarmode=tools -jar target/crac-demo-1.0.0.jar extract --destination "$WORK/app"
ls -la "$WORK/app"