RFR: 8303213: Avoid AtomicReference in TextComponentPrintable

Sergey Bylokhov serb at openjdk.org
Sat Feb 25 17:42:49 UTC 2023


On Mon, 16 Jan 2023 20:25:02 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> If CompareAndSwap is not used, then AtomicReference could be replaced with volatile. It simplified code a bit.

Looks fine.

-------------

PR: https://git.openjdk.org/jdk/pull/12018



More information about the client-libs-dev mailing list