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

Aleksey Shipilev shade at openjdk.org
Tue Jan 28 19:35:46 UTC 2025


On Tue, 28 Jan 2025 19:23:26 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> 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.

So while this is a behavioral change, this is the _expected_ behavior in JDK 24, right? Looks right then.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23341#pullrequestreview-2579237304


More information about the hotspot-runtime-dev mailing list