RFR: 8286182: C2: crash with SIGFPE when executing compiled code

Martin Doerr mdoerr at openjdk.java.net
Mon May 16 14:02:50 UTC 2022


On Mon, 16 May 2022 13:01:50 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> So the fix for [JDK-8257822](https://bugs.openjdk.java.net/browse/JDK-8257822) misses the new nodes added by [JDK-8284742](https://bugs.openjdk.java.net/browse/JDK-8284742).
> 
> I wonder if this code needs to be adjusted as well:
> 
> https://github.com/openjdk/jdk/blob/fa1ca98fff66fb91cfd5b00404645e0574d03101/src/hotspot/share/opto/loopnode.cpp#L5780-L5785
> 
> @chhagedorn should have a look as well.

I was wondering about that, too. Also why we have checks for Div/ModI nodes, but not for Div/ModL at some places. We can have loops with long trip count since [JDK-8223051](https://bugs.openjdk.java.net/browse/JDK-8223051).

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

PR: https://git.openjdk.java.net/jdk/pull/8726


More information about the hotspot-compiler-dev mailing list