API review of VarHandles

David M. Lloyd david.lloyd at redhat.com
Fri Jan 22 13:34:53 UTC 2016


On 01/22/2016 07:29 AM, Vitaly Davidovich wrote:
> Experts need control more than anything else.  This is not to say they'll
> be happy with a subpar API but control typically means lots of details so
> there's a limit on how abstracted the API can be.  As mentioned, given the
> API provides low level control one can build a higher level one for their
> own needs.  The topic of ordering is complex by its nature, there's a
> danger in hiding details in more abstract API.

I understand that, and that is reasonable.  However, will it be possible 
to build higher level APIs on this that do not suffer the same costs 
that make the existing Atomic* classes unattractive?

-- 
- DML


More information about the valhalla-dev mailing list