Using C++11+ in hotspot
John Rose
john.r.rose at oracle.com
Tue Aug 7 05:48:46 UTC 2018
On Aug 6, 2018, at 9:54 PM, Martin Buchholz <martinrb at google.com> wrote:
>
> I don't know what is actually being copied here, but can't the underlying
> type be atomic<address*> ?
Yes, if we are allowed to cast some random sequence of metadata
words to atomic<address*>[]. If that's the magic incantation to get
to the hardware's atomicity primitives, OK. I suspect a more direct
technique may be needed, such as assembly code stubs.
— John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20180806/b1a22f3b/attachment.html>
More information about the ppc-aix-port-dev
mailing list