RFR 8158039 VarHandle float/double field/array access should support CAS/set/add atomics
paul.sandoz at oracle.com
Thu Jun 2 15:29:58 UTC 2016
> On 2 Jun 2016, at 14:41, Martin Buchholz <martinrb at google.com> wrote:
> You can find an AtomicDouble in jsr166 CVS
> and in guava
> I'm still in favor of putting it in openjdk.
Thanks, that is helpful.
What pushed me over the edge in favour was the support for sub-word CAS. The float/double types are lonely and want to join the club as fully signed up members :-)
I will produce another patch with fixes and better docs.
More information about the jdk9-dev