RFR(M): 8190285: s390: Some java boolean checks are not correct

Doerr, Martin martin.doerr at sap.com
Sat Oct 28 16:33:03 UTC 2017


Hi Coleen,

thanks for reviewing. We have only tested that the narrowing in early return doesn't break anything.
It should be possible to test it by using a modified Java debugger, but I haven't tried that.
Anyway, I think the narrowing should be there since ForceEarlyReturnInt can be used for any of these types and I couldn't find a check in the JVMTI implementation.

Best regards,
Martin


-----Original Message-----
From: hotspot-runtime-dev [mailto:hotspot-runtime-dev-bounces at openjdk.java.net] On Behalf Of coleen.phillimore at oracle.com
Sent: Freitag, 27. Oktober 2017 20:49
To: hotspot-runtime-dev at openjdk.java.net
Subject: Re: RFR(M): 8190285: s390: Some java boolean checks are not correct


Hi This looks good, but do you have a test case for the early return 
case?   Many of the platforms are missing the narrow call.

http://cr.openjdk.java.net/~mdoerr/8190285_s390_jbool/webrev.00/src/hotspot/cpu/s390/templateInterpreterGenerator_s390.cpp.udiff.html

Thanks,
Coleen

On 10/27/17 10:23 AM, Doerr, Martin wrote:
> Hi,
>
> the current s390 implementation misses a couple of small fixes which exist on other platforms.
>
> Please review:
> http://cr.openjdk.java.net/~mdoerr/8190285_s390_jbool/webrev.00/
>
> Best regards,
> Martin
>



More information about the hotspot-runtime-dev mailing list