git: openjdk/jdk15u-dev: 8248552: C2 crashes with SIGFPE due to division by zero

Yuri Nesterenko yan at openjdk.java.net
Fri Apr 9 16:56:02 UTC 2021


Changeset: 73788921
Author:    Olga Mikhaltsova <omikhaltcova at openjdk.org>
Committer: Yuri Nesterenko <yan at openjdk.org>
Date:      2021-04-09 16:55:05 +0000
URL:       https://git.openjdk.java.net/jdk15u-dev/commit/73788921

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

! src/hotspot/share/opto/loopopts.cpp
+ test/hotspot/jtreg/compiler/loopopts/TestSplitThruPhiDivMod.java



More information about the jdk-updates-changes mailing list