RFR: 8356595: Convert -Xlog:cds to -Xlog:aot [v4]

Ioi Lam iklam at openjdk.org
Wed May 14 07:20:52 UTC 2025


On Wed, 14 May 2025 06:31:41 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

>> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Removed PrintAOTLogsAsCDSLogs and improved comments
>
> src/hotspot/share/cds/aotLogging.hpp line 82:
> 
>> 80: //
>> 81: // [2] When using CDS archives
>> 82: //     - These logs can be selected ONLY with -Xlog:cds. They are always printed with [cds] decoration
> 
> OK, so if I use `-Xlog:all`, what will they be selected as?

`-Xlog:all` will enable all `LogTagSets`. Each `aot_log_xxx()` statement will print exactly one log. When using AOT caches, the log will be printed with `[aot]` decorations. When using CDS archives, the log will be printed with `[cds]` decorations.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25136#discussion_r2088234239


More information about the hotspot-dev mailing list