Files
asmhatreandClaude Sonnet 5.5 c0062ea398 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
2026-11-29 13:51:08 +05:30

10 lines
397 B
Bash
Executable File

#!/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"