RFR: 8367366: Do not support -XX:+AOTClassLinking for dynamic CDS archive
Ashutosh Mehra
asmehra at openjdk.org
Fri Sep 12 15:16:10 UTC 2025
On Fri, 12 Sep 2025 03:31:02 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> Support of `-XX:+AOTClassLinking` for dynamic CDS archive is not an documented feature of [JEP 483](https://openjdk.org/jeps/483). It has very small performance benefit and complicates the development of future AOT optimizations.
>
> After this PR, `-XX:+AOTClassLinking` will have no effect when creating a dynamic CDS archive.
This looks good. Just wondering if we should report any message if `-XX:+AOTClassLinking` is specified when creating a dynamic archive? I think this patch silently ignores it.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27242#issuecomment-3285678073
More information about the hotspot-dev
mailing list