On Wed, Jun 19, 2019 at 6:13 AM Сергей Цыпанов <sergei.tsypa...@yandex.ru>
wrote:

>
> Also toString() of AtomicIntegerArray, AtomicLongArray and
> AtomicReferenceArray partially duplicate logic of corresponding method
> available in j.u.Arrays and can be replaced with call to delegate.
>

 This looks incorrect to me - it replaces volatile reads with plain reads,
breaking the happens-before guarantee, (but that's  hard to demonstrate in
a test).

Reply via email to