RFR(XS): 8154763: Crash with "assert(RangeCheckElimination)" if RangeCheckElimination is disabled
Berg, Michael C
michael.c.berg at intel.com
Thu Apr 21 14:42:05 UTC 2016
Hi Tobias, sure when RangeCheckElimination is not enabled this makes sense.
From: Tobias Hartmann [mailto:tobias.hartmann at oracle.com]
Sent: Thursday, April 21, 2016 6:57 AM
To: hotspot-compiler-dev at openjdk.java.net
Cc: Berg, Michael C <michael.c.berg at intel.com>
Subject:  RFR(XS): 8154763: Crash with "assert(RangeCheckElimination)" if RangeCheckElimination is disabled
please review the following patch:
JDK-8151573 introduced multiversioning for range check elimination. Explicitly turning of range check elimination now crashes the VM with an assert in PhaseIdealLoop::has_range_checks() because we assume that this is only called if range check elimination is enabled.
I think we should disable multiversioning if range check elimination is turned off. I added the corresponding check.
Tested with regression test and RBT (running).
More information about the hotspot-compiler-dev