RFR(S): 8166742 : SIGFPE in C2 Loop IV elimination

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Sep 26 22:45:23 UTC 2016


Hi Chuck

Can you do 'long' arithmetic in existing condition to catch integer overflow instead?

if ((ratio_con * stride_con) == stride_con2) { // Check for exact

thanks,
Vladimir


On 9/26/16 3:18 PM, Chuck Rasbold wrote:
> A small fix for an edge case crash in C2...
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8166742
> Webrev: http://cr.openjdk.java.net/~rasbold/8166742/webrev.00/
>
> Requesting a sponsor and reviews.  Thanks.
>
> -- Chuck


More information about the hotspot-compiler-dev mailing list