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

Quan Anh Mai duke at openjdk.java.net
Wed May 18 15:57:43 UTC 2022


On Mon, 16 May 2022 12:36:43 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> The bug is not assigned to me, but I have seen that the C2 code which checks for div by 0 is not aware of the new nodes from [JDK-8284742](https://bugs.openjdk.java.net/browse/JDK-8284742).
> This fixes the VM to pass the reproducer. I'm not sure if more opcode checks are required to get added.

I have made a backout for the changes made by [JDK-8285390](https://bugs.openjdk.java.net/browse/JDK-8285390) and [JDK-8284742](https://bugs.openjdk.java.net/browse/JDK-8284742) in #8774 , a more appropriate fix would be submitted for jdk20 as suggested by Tobias and Christian. Thanks.

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

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


More information about the hotspot-compiler-dev mailing list