Using C++11+ in hotspot
Andrew Haley
aph at redhat.com
Wed Aug 8 14:02:28 UTC 2018
On 08/08/2018 07:51 AM, Erik Osterlund wrote:
> So basically, my answer to your question is: no we do not and should
> not care. And that message ought to be documented somewhere to
> remove all uncertainty and inconsistency around that reoccuring
> question.
That sounds sensible. I guess that if we use -fno-strict-aliasing
then we can cast *T to *atomic<T>. I can ask on gcc@ to be sure.
Having said that, I wouldn't. gcc builtins do what we need anyway, at
least for platform-specific code.
--
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 workshop-discuss
mailing list