RFR: 8356595: Convert -Xlog:cds to -Xlog:aot [v2]
Ioi Lam
iklam at openjdk.org
Fri May 9 06:27:38 UTC 2025
> 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:
Fixed macos build
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25136/files
- new: https://git.openjdk.org/jdk/pull/25136/files/b7670bf0..dbab9a7e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25136&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25136&range=00-01
Stats: 5 lines in 2 files changed: 1 ins; 2 del; 2 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
More information about the serviceability-dev
mailing list