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

Tobias Hartmann thartmann at openjdk.org
Thu Mar 13 12:17:24 UTC 2025


On Thu, 13 Mar 2025 12:07:50 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

> 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

Looks good. I'll close [JDK-8318890](https://bugs.openjdk.org/browse/JDK-8318890) as dup then ;)

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

Marked as reviewed by thartmann (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24031#pullrequestreview-2681660792


More information about the hotspot-compiler-dev mailing list