RFR: 8367366: Do not support -XX:+AOTClassLinking for dynamic CDS archive
Ioi Lam
iklam at openjdk.org
Thu Sep 18 02:51:42 UTC 2025
On Fri, 12 Sep 2025 15:13:35 GMT, Ashutosh Mehra <asmehra 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.
Thanks @ashu-mehra @vnkozlov for the review
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27242#issuecomment-3305216792
More information about the hotspot-dev
mailing list