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

11 lines
742 B
Bash
Executable File

# shared helpers (sourced)
source "$(dirname "${BASH_SOURCE[0]}")/env.sh"
APPJAR="$WORK/app/crac-demo-1.0.0.jar"
wait_ready() { for i in $(seq 1 600); do curl -s -o /dev/null "localhost:$PORT/ping" && return 0; sleep 0.1; done; return 1; }
wait_exit() { for i in $(seq 1 600); do kill -0 "$1" 2>/dev/null || return 0; sleep 0.1; done; return 1; }
now_ms() { echo $(( $(date +%s%N) / 1000000 )); }
du_mb() { du -sm "$1" | cut -f1; }
# keep transcripts free of machine paths and wall-clock dates
scrub() { sed -E "s#$WORK#<work>#g; s#$ROOT#<repo>#g; s#/tmp/tools/[^ /]*/[^ /]*#<jdk>#g; s#^[0-9T:.+-]{29} ##"; }
stop_port() { fuser -k -9 "$PORT/tcp" >/dev/null 2>&1; sleep 0.5; } # kills whatever listens on our (private) port