commit | b6c62c79e7d9592ca1ea6b93f6ce3dd3829939d0 | [log] [tgz] |
---|---|---|
author | mpage <mpage@meta.com> | Wed Apr 17 09:42:56 2024 -0700 |
committer | GitHub <noreply@github.com> | Wed Apr 17 09:42:56 2024 -0700 |
tree | 8e1316d044d947926b0c474f653236da13b9a880 | |
parent | deaecb88fa5da68cbffca413c63af95fd99578dd [diff] |
gh-117657: Fix data races in the method cache in free-threaded builds (#117954) Fix data races in the method cache in free-threaded builds These are technically data races, but I think they're benign (to the extent that that is actually possible). We update cache entries non-atomically but read them atomically from another thread, and there's nothing that establishes a happens-before relationship between the reads and writes that I can see.