On 01/22/2016 07:57 AM, Aleksey Shipilev wrote:
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.
Great, nice work, and nice article! -- - DML