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
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
# Where the JDKs live. Override on the command line, e.g. JDK_CRAC=/opt/zulu-crac ./scripts/run-all.sh
|
||||
export JDK_PLAIN="${JDK_PLAIN:-/tmp/tools/tem/jdk-25.0.5.1+2}" # Temurin 25.0.5.1 (plain JVM, AOT cache)
|
||||
export JDK_CRAC="${JDK_CRAC:-/tmp/tools/zulu/zulu25.38.203-ca-crac-jdk25.0.5.1.1-linux_x64}" # Azul Zulu 25 with CRaC
|
||||
export JDK_GRAAL="${JDK_GRAAL:-/tmp/tools/graal/graalvm-jdk-25.0.4+7.1}" # Oracle GraalVM 25.0.4 (native-image)
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"; export ROOT
|
||||
export OUT="$ROOT/output"; mkdir -p "$OUT"
|
||||
export WORK="${WORK:-/tmp/crac-work}"; mkdir -p "$WORK" # checkpoints, caches, logs: not committed
|
||||
export PORT="${PORT:-18771}"
|
||||
# The JVM prints "Picked up JAVA_TOOL_OPTIONS" on every launch in some sandboxes; it is noise in a transcript.
|
||||
# (Maven itself needs the variable in such a sandbox, so only the run scripts clear it, never build.sh.)
|
||||
run_env() { env -u JAVA_TOOL_OPTIONS -u _JAVA_OPTIONS "$@"; }
|
||||
export TOOL="python3 $ROOT/scripts/crac_tool.py"; export JDK_PLAIN JDK_CRAC WORK PORT
|
||||
Reference in New Issue
Block a user