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

13 lines
814 B
Bash
Executable File

#!/usr/bin/env bash
# What every number in the post was measured on.
source "$(dirname "$0")/lib.sh"
{
echo "== machine"; uname -sr; echo "cpus: $(nproc)"; free -m | awk 'NR==2{print "memory MB: "$2}'
echo; echo "== plain JVM and AOT cache"; run_env "$JDK_PLAIN/bin/java" -version 2>&1 | scrub
echo; echo "== CRaC JVM"; run_env "$JDK_CRAC/bin/java" -version 2>&1 | scrub
echo "engines shipped: $(ls "$JDK_CRAC/lib" | grep -E 'criu|libcriuengine|warp' | tr '\n' ' ')"
echo; echo "== native-image"; run_env "$JDK_GRAAL/bin/native-image" --version 2>&1 | scrub
echo; echo "== Spring"; unzip -p "$WORK/app/lib/spring-boot-4.2.0.jar" META-INF/MANIFEST.MF | grep -E 'Implementation-Version'
ls "$WORK/app/lib" | grep -E '^(spring-(core|context|webmvc|boot)-|crac-|tomcat-embed-core)'
} 2>&1 | tee "$OUT/01-versions.txt"