RFR: 8369258: C2: enable ReassociateInvariants for all loop types

Roland Westrelin roland at openjdk.org
Thu Oct 16 07:38:31 UTC 2025


On Mon, 13 Oct 2025 14:00:54 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Currently ReassociateInvariants is only enabled for int counted
>> loops. I noticed, enabling it for long counted loops helps RCE. It
>> also seems like something that would help any loop. I propose enabling
>> it for all inner loops.
>
> BTW: testing passed!

@eme64 @merykitty thanks for the reviews.

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

PR Comment: https://git.openjdk.org/jdk/pull/27666#issuecomment-3409571639


More information about the hotspot-compiler-dev mailing list