RFR: 8356595: Convert -Xlog:cds to -Xlog:aot [v6]
Ioi Lam
iklam at openjdk.org
Wed May 14 16:53:10 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:
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
More information about the hotspot-dev
mailing list