> This is an alternative (and opposite) approach to > https://github.com/openjdk/jdk/pull/24895. We basically convert most `[cds]` > logs to `[aot]` logs. However, for the few logs that might be needed by > existing user scripts, we use macros like `aot_log_info`, `aot_log_debug` so > that they can be selected/printed using the `[cds]` tag. > > We have a few hundred logs that start with `[cds]`. To aid reviewing, this PR > will convert only part of them. I will create a second PR that coverts the > rest of the logs. > > Please see **aotLogging.hpp** for how the macros work.
Ioi Lam has updated the pull request incrementally with one additional commit since the last revision: Improved comments: [cds] logs will be printed if no -XX:AOTxxx flags are used ------------- Changes: - all: https://git.openjdk.org/jdk/pull/25136/files - new: https://git.openjdk.org/jdk/pull/25136/files/37d334a6..8205506a Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=25136&range=05 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25136&range=04-05 Stats: 6 lines in 1 file changed: 0 ins; 1 del; 5 mod Patch: https://git.openjdk.org/jdk/pull/25136.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/25136/head:pull/25136 PR: https://git.openjdk.org/jdk/pull/25136