There is no need in CometD 6 and JDK 11 to allocate an `AtomicReference` for atomic state machines, because they can be done using `VarHandle`. See `AsyncFoldLeft` implementation.
There is no need in CometD 6 and JDK 11 to allocate an
AtomicReferencefor atomic state machines, because they can be done usingVarHandle.See
AsyncFoldLeftimplementation.