[concurrency-interest] AtomicReference.updateAndGet() mandatory updating

Doug Lea dl at cs.oswego.edu
Thu Jun 1 13:04:29 EDT 2017

On 06/01/2017 12:01 PM, Alex Otenko wrote:

> It seems Doug’s version mentioned both. My only question is about
> ambiguity: does “(volatile)” mean “volatile or not”, or “which of course
> is volatile”.

I should have used square brackets. It was a quote from one of your
posts, adding "(volatile)" to provide context.

In any case, the brief definitional paragraph I since posted seems
to be the best solution, modulo any suggestions for improvement.


More information about the Concurrency-interest mailing list