13bd492e32
Use AtomicReference holding an immutable list with a compare-and-set loop, eliminating the synchronized block while maintaining thread safety. https://claude.ai/code/session_01KLRz7FJgWRtgCcZe3qD1VX