Enable compact object headers on Java 24+ (#4211)

This commit is contained in:
OowhitecatoO authored and GitHub committed 2026-08-03 07:10:14 -05:00
1 parent ec489685e3
commit 8651291543
1 file changed
+5
+5
View File
@@ -347,6 +347,11 @@ if isTrue "${USE_MEOWICE_FLAGS}"; then
else
log "cpu not x86_64, disabling architecture specific flags"
fi
if [[ $java_major_version -gt 23 ]]; then
JVM_XX_OPTS="${JVM_XX_OPTS}
-XX:+UseCompactObjectHeaders
"
fi
fi
if isTrue "${USE_MEOWICE_GRAALVM_FLAGS}"; then