]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117657: Enable test_opcache under TSAN (GH-129831)
authorSam Gross <colesbury@gmail.com>
Tue, 11 Feb 2025 21:53:08 +0000 (16:53 -0500)
committerGitHub <noreply@github.com>
Tue, 11 Feb 2025 21:53:08 +0000 (16:53 -0500)
commitf151d271591ec525eaf01fa7b128e575374888b9
treebb6d74fcad012cea7882a7a9061b6c3470a4d7dc
parented816f1a7088f5e85d9b27ed5828408dff007d18
gh-117657: Enable test_opcache under TSAN (GH-129831)

Fix a few thread-safety bugs to enable test_opcache when run with TSAN:

 * Use relaxed atomics when clearing `ht->_spec_cache.getitem`
   (gh-115999)
 * Add temporary suppression for type slot modifications (gh-127266)
 * Use atomic load when reading `*dictptr`
Lib/test/libregrtest/tsan.py
Objects/object.c
Objects/typeobject.c
Tools/tsan/suppressions_free_threading.txt