diff options
author | AN Long <aisk@users.noreply.github.com> | 2024-07-01 19:11:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-01 19:11:39 (GMT) |
commit | 294e72496439da984cb8dba9100d3613c8cc8a6d (patch) | |
tree | 8b205b9af78fdd7469bb462b81b7a0b51b748754 /Tools/tsan | |
parent | 9bcb7d8c6f8277c4e76145ec4c834213167e3387 (diff) | |
download | cpython-294e72496439da984cb8dba9100d3613c8cc8a6d.zip cpython-294e72496439da984cb8dba9100d3613c8cc8a6d.tar.gz cpython-294e72496439da984cb8dba9100d3613c8cc8a6d.tar.bz2 |
gh-117657: Fix data races reported by TSAN in some set methods (#120914)
Refactor the fast Unicode hash check into `_PyObject_HashFast` and use relaxed
atomic loads in the free-threaded build.
After this change, the TSAN doesn't report data races for this method.
Diffstat (limited to 'Tools/tsan')
-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 0e17237..534a0ce 100644 --- a/Tools/tsan/suppressions_free_threading.txt +++ b/Tools/tsan/suppressions_free_threading.txt @@ -30,7 +30,6 @@ race_top:assign_version_tag race_top:insertdict race_top:lookup_tp_dict race_top:new_reference -race_top:set_contains_key # https://gist.github.com/colesbury/d13d033f413b4ad07929d044bed86c35 race_top:set_discard_entry race_top:_PyDict_CheckConsistency |