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