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

Martin Doerr mdoerr at openjdk.java.net
Mon May 16 12:43:35 UTC 2022


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.

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

Commit messages:
 - 8286182: C2: crash with SIGFPE when executing compiled code

Changes: https://git.openjdk.java.net/jdk/pull/8726/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8726&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8286182
  Stats: 8 lines in 2 files changed: 5 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8726.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8726/head:pull/8726

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


More information about the hotspot-compiler-dev mailing list