[lworld] RFR: 8369045: [lworld] valhalla/valuetypes/WeakReferenceTest.java has an unschedulable graph [v2]

Damon Fenacci dfenacci at openjdk.org
Wed Dec 17 15:05:10 UTC 2025


On Tue, 16 Dec 2025 08:51:59 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> Damon Fenacci has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   JDK-8369045: remove strength reduction flag
>
> src/hotspot/share/opto/graphKit.cpp line 2051:
> 
>> 2049:         _gvn.set_type(ret, ret->Value(&_gvn));
>> 2050: 
>> 2051:         // Don't add store to buffer call if we are strength reducing
> 
> Why do we need to add the above runtime check of the result again when doing strength reduction?

We actually don't 🙂
I moved it inside the not-strength-reducing block.

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1768#discussion_r2627420774


More information about the valhalla-dev mailing list