RFR: 8267532: Try/catch block not optimized as expected [v3]

Tobias Hartmann thartmann at openjdk.org
Wed Nov 8 08:57:02 UTC 2023


On Mon, 6 Nov 2023 13:12:25 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/c2/TestExHandlerTrap.java line 37:
>> 
>>> 35:  *   -Xbatch
>>> 36:  *   -Xlog:deoptimization=trace
>>> 37:  *   -XX:CompileCommand=PrintCompilation,compiler.c2.TestExHandlerTrap::payload
>> 
>> Should the logging/printing be removed?
>
> I've left it since the output is pretty minimal, and it seems like it might be useful in case the test ever fails in CI?

Okay, makes sense.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16416#discussion_r1386221047


More information about the hotspot-dev mailing list