[9] RFR(XS): 8154763: Crash with "assert(RangeCheckElimination)" if RangeCheckElimination is disabled

Tobias Hartmann tobias.hartmann at oracle.com
Fri Apr 22 05:20:21 UTC 2016


Thanks, Vladimir!

Best regards,
Tobias

On 22.04.2016 00:18, Vladimir Kozlov wrote:
> Looks good.
> 
> Thanks,
> Vladimir
> 
> On 4/21/16 6:56 AM, Tobias Hartmann wrote:
>> Hi,
>>
>> please review the following patch:
>>
>> https://bugs.openjdk.java.net/browse/JDK-8154763
>> http://cr.openjdk.java.net/~thartmann/8154763/webrev.00/
>>
>> 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).
>>
>> Thanks,
>> Tobias
>>


More information about the hotspot-compiler-dev mailing list