RFR: 8351938: C2: Print compilation bailouts with PrintCompilation compile command

Christian Hagedorn chagedorn at openjdk.org
Thu Mar 13 12:17:23 UTC 2025


We currently only print a compilation bailout with `-XX:+PrintCompilation`:

7782 90 b 4 Test::main (19 bytes)
7792 90 b 4 Test::main (19 bytes) COMPILE SKIPPED: StressBailout

But not when using `-XX:CompileCommand=printcompilation,*::*`. This patch enables this.

Thanks,
Christian

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

Commit messages:
 - 8351938: C2: Print compilation bailouts with PrintCompilation compile command

Changes: https://git.openjdk.org/jdk/pull/24031/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24031&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8351938
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/24031.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24031/head:pull/24031

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


More information about the hotspot-compiler-dev mailing list