RFR: 8356595 convert cds log to aot log
Ioi Lam
iklam at openjdk.org
Fri May 9 03:59:08 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.
-------------
Commit messages:
- @stefank suggestions
- Merge remote-tracking branch '8355638-xlog-aot-as-alias-for-xlog-cds' into 8355638-xlog-aot-as-alias-for-xlog-cds-alt-impl
- Removed checks for error message that got removed from the PR
- Reverted unrelated changes in filemap.cpp
- @vnkozlov and @dholmes-ora comments
- Merge branch 'master' into 8355638-xlog-aot-as-alias-for-xlog-cds
- cds+aot+load -> aot+load
- Merge branch 'master' into 8355638-xlog-aot-as-alias-for-xlog-cds
- @jdksjolen comment
- Fixed comment
- ... and 10 more: https://git.openjdk.org/jdk/compare/52a5583d...b7670bf0
Changes: https://git.openjdk.org/jdk/pull/25136/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25136&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8356595
Stats: 695 lines in 42 files changed: 320 ins; 13 del; 362 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