[concurrency-interest] RFR 8005311: Add Scalable Updatable Variables, DoubleAccumulator, DoubleAdder, LongAccumulator, LongAdder

Doug Lea dl at cs.oswego.edu
Sun Jan 6 10:44:46 EST 2013

On 01/06/13 10:30, Zhong Yu wrote:
> Just to confirm, in
>      (a=b)==null
> or
>      x = (a=b);
> variable `a` is not read, as far as JMM is concerned, correct?

Yes, the value of an assignment statement is the value of its right-hand
side. See the JLS specs:


More information about the Concurrency-interest mailing list