RFR: 8141633: Implement VarHandles/Unsafe intrinsics on AArch64

Andrew Dinn adinn at redhat.com
Wed Jul 6 15:59:17 UTC 2016



On 06/07/16 13:23, Andrew Haley wrote:
> http://cr.openjdk.java.net/~aph/8141633-1/
> 
> Andrew Dinn: I haven't done the rewrite rules to get rid of the
> unnecessary fences.  Every possible combination of acquire/release/
> volatile is required, so we'd have to decode the various fences and
> convert them into ld{a}xr, st{l}xr.  It'd be nice to get this done,
> but perhaps not the highest priority.

The current patch looks good to me.

I don't think it will be too hard to tweak this to use the correct
acquire/release semantics. I'll take a look at that and propose it as a
follow-up.

regards,


Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander


More information about the hotspot-dev mailing list