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
{{ message }}
Repository navigation
Commit 3ee350d
Browse filesBrowse the repository at this point in the historyBrowse files
Don't expose stale values through recycled ThreadLocal slots
When a ThreadLocal is finalised its slot is reused by the next ThreadLocal,
but threads still held the values stored for the old one, so a new
ThreadLocal could return a value of an unrelated type. Slots now carry a
generation that is bumped on reuse, and threads store the generation along
with each value.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments