API review of VarHandles
Aleksey Shipilev
aleksey.shipilev at oracle.com
Fri Jan 22 13:57:13 UTC 2016
On 01/22/2016 04:54 PM, David M. Lloyd wrote:
> The costs are both performance and memory overhead. The
> Atomic*FieldUpdaters are good for memory usage and reasonably usable,
> but suffer from performance problems and generics issues.
Hopefully, not anymore:
http://shipilev.net/blog/2015/faster-atomic-fu/
BTW, those are the same techniques we use to compile VarHandles down to
the naked memory accesses.
Cheers,
-Aleksey
More information about the core-libs-dev
mailing list