RFR: 8348752: Enable -XX:+AOTClassLinking by default when -XX:AOTMode is specified

Ioi Lam iklam at openjdk.org
Tue Jan 28 19:29:07 UTC 2025


According to the CSR [JDK-8339506](https://bugs.openjdk.org/browse/JDK-8339506) (for https://openjdk.org/jeps/483)

> When an AOT cache is created with the new -XX:AOTMode=create flag, we assume that the application is aware of AOT class linking and does not depend of the class loading order. In this case, AOTClassLinking has a default value of true. The user can disable it by explicitly passing -XX:-AOTClassLinking in the JVM command line.

-------------

Commit messages:
 - 8348752: Enable -XX:+AOTClassLinking by default when -XX:AOTMode is specified

Changes: https://git.openjdk.org/jdk/pull/23341/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23341&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8348752
  Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/23341.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23341/head:pull/23341

PR: https://git.openjdk.org/jdk/pull/23341


More information about the hotspot-runtime-dev mailing list