On Mon, 16 Jan 2023 20:25:02 GMT, Andrey Turbanov <[email protected]> wrote:
> If CompareAndSwap is not used, then AtomicReference could be replaced with > volatile. It simplified code a bit. This pull request has now been integrated. Changeset: 431e702b Author: Andrey Turbanov <[email protected]> URL: https://git.openjdk.org/jdk/commit/431e702b676e2c02224d60181c34b5fe97873d8b Stats: 30 lines in 1 file changed: 14 ins; 2 del; 14 mod 8303213: Avoid AtomicReference in TextComponentPrintable Reviewed-by: serb, aivanov ------------- PR: https://git.openjdk.org/jdk/pull/12018
