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
More information about the workshop-discuss
mailing list