RFR (M): 8184334: Generalizing Atomic with templates

Kim Barrett kim.barrett at oracle.com
Thu Jul 20 03:35:22 UTC 2017

> On Jul 19, 2017, at 10:08 PM, Kim Barrett <kim.barrett at oracle.com> wrote:
> Independently, we can work on the implementation, which may
> eventually include using C++11 atomics, at least on some platforms.
> (Where applicable, that looks like it should be pretty easy with the
> new API. [2]) 

I forgot; one part of using C++11 atomics seems to be changing the types of a
large number of variables to atomic_T or atomic<T> or some Hotspot synonym.
That’s not quite so easy :(

More information about the hotspot-runtime-dev mailing list