RFR: 8373508: C2: sinking CreateEx out of loop breaks the graph [v2]

Roland Westrelin roland at openjdk.org
Fri Dec 19 13:27:08 UTC 2025


On Wed, 17 Dec 2025 14:25:56 GMT, Roland Westrelin <roland at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/loopopts/TestCreateExSunkOutOfLoop.java line 30:
>> 
>>> 28:  * @library /test/lib
>>> 29:  * @run main/othervm -Xbatch ${test.main.class}
>>> 30:  * @run main ${test.main.class}
>> 
>> Since this test runs for 4s at least, I'm not sure if it's worth to have an Xbatch and non-Xbatch version. Does it trigger with both?
>
> It does. Which would you keep then?

I would keep the one with Xbatch because it's more likely to reproduce. Does that sound good to you?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28842#discussion_r2635092319


More information about the hotspot-compiler-dev mailing list