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:
co-authored by
Claude Sonnet 5.5
parent
de2660e998
commit
c0062ea398
Executable
+10
@@ -0,0 +1,10 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user