RFR: 8186838: Generalize Atomic::inc/dec with templates
Andrew Haley
aph at redhat.com
Wed Sep 6 13:20:03 UTC 2017
On 05/09/17 09:04, Erik Österlund wrote:
> For example, our atomics typically conservatively guarantees
> bidirectional full fencing, while theirs does not.
Firstly, we can insert whatever fences we want, using intrinsics. We
don't need assembly language to do that.
Secondly, I don't see bidirectional full fencing in x86 atomics, and I
don't think we really want bidirectional full fencing anyway.
--
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 hotspot-dev
mailing list