API review of VarHandles
David M. Lloyd
david.lloyd at redhat.com
Fri Jan 22 14:04:23 UTC 2016
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:
> BTW, those are the same techniques we use to compile VarHandles down to
> the naked memory accesses.
Great, nice work, and nice article!
More information about the core-libs-dev