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:

BTW, those are the same techniques we use to compile VarHandles down to
the naked memory accesses.


More information about the valhalla-dev mailing list