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

Aleksey Shipilev shade at openjdk.org
Tue May 6 19:18:54 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
>  - [x] Linux x86_64 server fastdebug, `all`

Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:

  Only do jit+compilation

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25061/files
  - new: https://git.openjdk.org/jdk/pull/25061/files/2e1b9e64..2b8c9576

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25061&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25061&range=00-01

  Stats: 4 lines in 3 files changed: 0 ins; 0 del; 4 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