On Wed, 14 May 2025 06:31:41 GMT, Johan Sjölen <jsjo...@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

Reply via email to