RFR: 8356259: Lift basic -Xlog:jit* logging to "info" level

Aleksey Shipilev shade at openjdk.org
Tue May 6 09:57:47 UTC 2025


We have unified logging for JIT activity: -Xlog:jit+compilation, -Xlog:jit+inlining, etc. These serve as convenient replacements for -XX:+PrintCompilation, -XX:+PrintInlining, etc. And these replacements are useful, because UL can be forwarded to file, their format can be adjusted, and they can be handled asynchronously.

However, all useful messages are on "debug" level, which is inconvenient and surprising. It is reasonable to expect some level of basic logging when supplying -Xlog:jit+compilation, e.g. "info" level. I believe we should lift at least some of the logging to "info" level for these.

Additional testing:
 - [x] Eyeballing `-Xlog:jit*` logs after the patch
 - [ ] Linux x86_64 server fastdebug, `all`

-------------

Commit messages:
 - Fix

Changes: https://git.openjdk.org/jdk/pull/25061/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25061&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8356259
  Stats: 6 lines in 3 files changed: 0 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/25061.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25061/head:pull/25061

PR: https://git.openjdk.org/jdk/pull/25061


More information about the graal-dev mailing list