# 02-startup-flags: flag, then for each JDK the exit code and the first line the JVM printed (if any) --- -Djava.security.manager=allow [21.0.13.1] exit 0 [25.0.5.1] exit 1 Error occurred during initialization of VM --- -XX:+UseZGC -XX:+ZGenerational [21.0.13.1] exit 0 [25.0.5.1] exit 0 OpenJDK 64-Bit Server VM warning: Ignoring option ZGenerational; support was removed in 24.0 --- -XX:+UseZGC -XX:-ZGenerational [21.0.13.1] exit 0 [25.0.5.1] exit 0 OpenJDK 64-Bit Server VM warning: Ignoring option ZGenerational; support was removed in 24.0 --- -XX:+UseCompactObjectHeaders [21.0.13.1] exit 1 Unrecognized VM option 'UseCompactObjectHeaders' [25.0.5.1] exit 0 --- -XX:+UnlockExperimentalVMOptions -XX:+UseCompactObjectHeaders [21.0.13.1] exit 1 Unrecognized VM option 'UseCompactObjectHeaders' [25.0.5.1] exit 0 --- -XX:+UseShenandoahGC -XX:ShenandoahGCMode=generational [21.0.13.1] exit 1 Error occurred during initialization of VM [25.0.5.1] exit 0 --- -XX:+UseStringDeduplication [21.0.13.1] exit 0 [25.0.5.1] exit 0 --- -XX:+UseLargePagesIndividualAllocation [21.0.13.1] exit 0 [25.0.5.1] exit 0 --- -XX:+UseNeon [21.0.13.1] exit 1 Unrecognized VM option 'UseNeon' [25.0.5.1] exit 1 Unrecognized VM option 'UseNeon' --- -XX:LockingMode=2 [21.0.13.1] exit 1 Error: VM option 'LockingMode' is experimental and must be enabled via -XX:+UnlockExperimentalVMOptions. [25.0.5.1] exit 0 OpenJDK 64-Bit Server VM warning: Option LockingMode was deprecated in version 24.0 and will likely be removed in a future release. --- -XX:+UseEmptySlotsInSupers [21.0.13.1] exit 0 [25.0.5.1] exit 1 Unrecognized VM option 'UseEmptySlotsInSupers' --- -XX:+UseOprofile [21.0.13.1] exit 0 [25.0.5.1] exit 0 OpenJDK 64-Bit Server VM warning: Option UseOprofile was deprecated in version 25.0 and will likely be removed in a future release. --- -XX:+DontYieldALot [21.0.13.1] exit 0 [25.0.5.1] exit 1 Unrecognized VM option 'DontYieldALot' --- -Xnoagent [21.0.13.1] exit 0 [25.0.5.1] exit 1 Unrecognized option: -Xnoagent --- -XX:+RegisterFinalizersAtInit [21.0.13.1] exit 0 [25.0.5.1] exit 1 Unrecognized VM option 'RegisterFinalizersAtInit' --- -XX:+UseCompressedClassPointers [21.0.13.1] exit 0 [25.0.5.1] exit 0 OpenJDK 64-Bit Server VM warning: Option UseCompressedClassPointers was deprecated in version 25.0 and will likely be removed in a future release. --- -XX:-UseCompressedClassPointers [21.0.13.1] exit 0 [25.0.5.1] exit 0 OpenJDK 64-Bit Server VM warning: Option UseCompressedClassPointers was deprecated in version 25.0 and will likely be removed in a future release. --- -XX:+PreserveAllAnnotations [21.0.13.1] exit 0 [25.0.5.1] exit 1 Unrecognized VM option 'PreserveAllAnnotations' --- -XX:+UseAdaptiveSizePolicyWithSystemGC [21.0.13.1] exit 0 [25.0.5.1] exit 0 --- -XX:+EnableDynamicAgentLoading [21.0.13.1] exit 0 [25.0.5.1] exit 0 --- --sun-misc-unsafe-memory-access=allow [21.0.13.1] exit 1 Unrecognized option: --sun-misc-unsafe-memory-access=allow [25.0.5.1] exit 0 --- --enable-native-access=ALL-UNNAMED [21.0.13.1] exit 0 [25.0.5.1] exit 0 --- --illegal-native-access=deny [21.0.13.1] exit 1 Unrecognized option: --illegal-native-access=deny [25.0.5.1] exit 0 --- -Djdk.tracePinnedThreads=full [21.0.13.1] exit 0 [25.0.5.1] exit 0 --- JDK 25: compact object headers together with -XX:-UseCompressedClassPointers OpenJDK 64-Bit Server VM warning: Compact object headers require compressed class pointers. Disabling compact object headers. --- JDK 25: CDS archive picked up with compact headers trying to map /lib/server/classes_coh.jsa