RFR: 8353597: Refactor handling VM options for AOT cache input and output [v3]
Vladimir Kozlov
kvn at openjdk.org
Tue Apr 8 16:00:21 UTC 2025
On Mon, 7 Apr 2025 16:54:37 GMT, Dan Heidinga <heidinga at openjdk.org> wrote:
>> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
>>
>> @lmesnik comments
>
> src/hotspot/share/cds/cdsConfig.cpp line 598:
>
>> 596: // - SharedArchiveFile is not specified and the VM doesn't have a compatible default archive
>> 597:
>> 598: #define __THEMSG " is unsupported when base CDS archive is not loaded. Run with -Xlog:cds for more info."
>
> Do we want to start transitioning existing `-Xlog:cds` options to be `:aot` options? I think making the switch would match out long term direction
Yes, but I think we should do it only if `AOTClassLinking` is enabled. For legacy CDS we should continue use `-Xlog:cds`.
I am using `-Xlog:aot+codecache` in AOT code caching.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24401#discussion_r2033524434
More information about the serviceability-dev
mailing list