RFR(S): 8186611: s390: Add missing compiler barriers and fix assembler
Doerr, Martin
martin.doerr at sap.com
Wed Aug 23 14:06:45 UTC 2017
Thanks for the review. Pushed.
Best regards,
Martin
-----Original Message-----
From: Lindenmaier, Goetz
Sent: Mittwoch, 23. August 2017 10:10
To: Doerr, Martin <martin.doerr at sap.com>; hotspot-runtime-dev at openjdk.java.net
Cc: Kim Barrett <kim.barrett at oracle.com>
Subject: RE: RFR(S): 8186611: s390: Add missing compiler barriers and fix assembler
Hi Martin,
thanks for these hard-to-spot fixes! Reviewed.
Best regards,
Goetz.
> -----Original Message-----
> From: Doerr, Martin
> Sent: Dienstag, 22. August 2017 21:04
> To: hotspot-runtime-dev at openjdk.java.net; Lindenmaier, Goetz
> <goetz.lindenmaier at sap.com>
> Cc: Kim Barrett <kim.barrett at oracle.com>
> Subject: RFR(S): 8186611: s390: Add missing compiler barriers and fix
> assembler
>
> Hi,
>
>
>
> please review my small s390 fix.
>
> As discovered by Kim Barret, the current inline assembly implementation of the
> atomics lacks "memory" in the clobber lists. This may lead to undesired
> compiler optimizations. We have never observed an issue, but it should be
> fixed.
>
> Another bug is in the assembler encoding of the mvh* instructions which take
> and Address parameter.
>
> In addition, I've improved an assertion which prevents the compiler from
> generating multiple accesses.
>
>
>
> Webrev:
>
> http://cr.openjdk.java.net/~mdoerr/8186611_s390_fixes/webrev.00/
>
>
>
> Thanks and best regards,
>
> Martin
>
>
More information about the hotspot-runtime-dev
mailing list