[aarch64-port-dev ] RFR: [11u] 8216350: AArch64: monitor unlock fast path not called

Andrew Haley aph at redhat.com
Tue Mar 12 08:43:23 UTC 2019


On 3/12/19 6:06 AM, Nick Gasson wrote:
> Hi,
> 
> Please review this backport of the fix for 8216350 to 11u:
> 
> Original bug: https://bugs.openjdk.java.net/browse/JDK-8216350
> Webrev: http://cr.openjdk.java.net/~ngasson/8216350/webrev.11u.0/
> 
> Justification is that it improves performance in non-micro benchmarks 
> (SPECjbb).
> 
> The original patch has been modified slightly so it applies cleanly on 
> 11u. Most of the conflicts were from checking the EmitSync flag in 11 
> which has been removed in 12/13. I've also removed the change to the 
> micro benchmark as these files are not in 11u.
> 
> Testing: jtreg, jcstress (*), and ran the micro benchmark to check the 
> performance regression is fixed.

OK.

> * Note that some jcstress tests are failing on 11u (with and without 
> this patch). You can reproduce this easily by running jcstress with "-t 
> varHandles.*GetAndSetTest". This was fixed in 12/13 by:
> 
>    8211320: Aarch64: unsafe.compareAndSetByte() and 
> unsafe.compareAndSetShort() c2 intrinsics broken with negative expected 
> value
> 
> I suggest we also backport the above to 11u?

Yes, thanks.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the jdk-updates-dev mailing list