Revert "Add AOT cache for mc-image-helper on Java 25+" (#4344)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2026-10-17 07:43:39 -05:00
1 parent 4cb8a05f9c
commit 2ae1097bb9
5 files changed
-43

No files matched your search

-6
View File
@@ -65,12 +65,6 @@ if isTrue "${DEBUG_MEMORY:-false}"; then
free -m | applyLogPrefix
fi
: "${MC_IMAGE_HELPER_AOT_CACHE:=/usr/share/mc-image-helper/cache/aot.cache}"
if (( $(getJavaRelease) >= 25 )) && [ -f "${MC_IMAGE_HELPER_AOT_CACHE}" ]; then
MC_IMAGE_HELPER_OPTS+=" -XX:AOTMode=auto -XX:AOTCache=${MC_IMAGE_HELPER_AOT_CACHE}"
export MC_IMAGE_HELPER_OPTS
fi
##########################################
# Setup RCON password