diff options
author | mpage <mpage@meta.com> | 2024-04-17 16:42:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-17 16:42:56 (GMT) |
commit | b6c62c79e7d9592ca1ea6b93f6ce3dd3829939d0 (patch) | |
tree | 8e1316d044d947926b0c474f653236da13b9a880 /Tools | |
parent | deaecb88fa5da68cbffca413c63af95fd99578dd (diff) | |
download | cpython-b6c62c79e7d9592ca1ea6b93f6ce3dd3829939d0.zip cpython-b6c62c79e7d9592ca1ea6b93f6ce3dd3829939d0.tar.gz cpython-b6c62c79e7d9592ca1ea6b93f6ce3dd3829939d0.tar.bz2 |
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.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/tsan/suppressions_free_threading.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Tools/tsan/suppressions_free_threading.txt b/Tools/tsan/suppressions_free_threading.txt index 889b62e..6e2bdc1 100644 --- a/Tools/tsan/suppressions_free_threading.txt +++ b/Tools/tsan/suppressions_free_threading.txt @@ -47,5 +47,4 @@ race:set_inheritable race:start_the_world race:tstate_set_detached race:unicode_hash -race:update_cache race:update_cache_gil_disabled |