RFR: 8369258: C2: enable ReassociateInvariants for all loop types
Hannes Greule
hgreule at openjdk.org
Tue Oct 7 07:54:47 UTC 2025
On Tue, 7 Oct 2025 07:36:41 GMT, Roland Westrelin <roland 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.
Hi @rwestrel, it looks like this also resolves https://bugs.openjdk.org/browse/JDK-8326001, right?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27666#issuecomment-3375624311
More information about the hotspot-compiler-dev
mailing list