[jdk15u-dev] Integrated: 8248552: C2 crashes with SIGFPE due to division by zero

Olga Mikhaltsova omikhaltcova at openjdk.java.net
Fri Apr 9 16:58:20 UTC 2021


On Fri, 9 Apr 2021 14:45:56 GMT, Olga Mikhaltsova <omikhaltcova at openjdk.org> wrote:

> I'd like to backport JDK-8248552 to jdk15u for parity with jdk11u.
> The original patch applied cleanly.
> Tested with the test attached to the corresponding issue and the test added in this patch.
> In addition tested with jtreg:test/hotspot/jtreg/compiler, no regression.

This pull request has now been integrated.

Changeset: 73788921
Author:    Olga Mikhaltsova <omikhaltcova at openjdk.org>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk15u-dev/commit/73788921
Stats:     117 lines in 2 files changed: 110 ins; 0 del; 7 mod

8248552: C2 crashes with SIGFPE due to division by zero

Bail out in PhaseIdealLoop:split_thru_phi when trying to split a Div or ModNode iv phi whose zero check was removed but could potentially still be zero based on type information.

Backport-of: 417e8e449df569f593b82ecd640fa01b6b762832

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

PR: https://git.openjdk.java.net/jdk15u-dev/pull/20


More information about the jdk-updates-dev mailing list