Spring Boot 4.1.1 catalog service measured on JDK 25, 26 and 27: live heap 320 MB to 273 MB with compact headers, per-class bytes per instance, container-sizing sweeps with real cgroup limits, 1-CPU Serial vs G1 with Native Memory Tracking, removed flags (MaxRAM, UseCompressedClassPointers), and a kernel OOM-kill check. Outputs in jdk27-memory/output. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TF9JWFvJSNm6HVzswzZU5a
9 lines
416 B
Bash
Executable File
9 lines
416 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Where the three JDKs live. Override with environment variables; nothing else is hard-coded.
|
|
: "${JDK25:=/tmp/tools/j25/jdk-25.0.4.1+1}"
|
|
: "${JDK26:=$(ls -d /tmp/tools/j26/jdk-26* 2>/dev/null | head -1)}"
|
|
: "${JDK27:=/tmp/tools/j27/jdk-27+35}"
|
|
export JDK25 JDK26 JDK27
|
|
# The runs must not inherit proxy/trust-store options meant for Maven.
|
|
unset JAVA_TOOL_OPTIONS JDK_JAVA_OPTIONS _JAVA_OPTIONS
|