RFR: 8367366: Do not support -XX:+AOTClassLinking for dynamic CDS archive [v2]

Vladimir Kozlov kvn at openjdk.org
Tue Sep 16 19:17:56 UTC 2025


On Tue, 16 Sep 2025 02:38:25 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>  The default value of AOTClassLinking is false, so if we come here, it must have been set in the command-line. I added an assert (so our ERGO code doesn't set it by mistake).

Here AOTClassLinking is set and checked in `check_vm_args_consistency()`
https://github.com/openjdk/leyden/blob/master/src/hotspot/share/cds/cdsConfig.cpp#L636

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27242#discussion_r2353419057


More information about the hotspot-dev mailing list