You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cache isEmpty() results in local variables to avoid redundant volatile reads
Addresses review feedback from dougqh: the JIT will be conservative
with volatile reads from CopyOnWriteArrayList.isEmpty() and won't
hoist them, so we cache in locals ourselves.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments