Skip to content

[3.13] gh-117657: Enable test_opcache under TSAN (GH-129831) - #130597

Merged
colesbury merged 1 commit into
python:3.13from
colesbury:backport-f151d27-3.13
Feb 26, 2025
Merged

[3.13] gh-117657: Enable test_opcache under TSAN (GH-129831)#130597
colesbury merged 1 commit into
python:3.13from
colesbury:backport-f151d27-3.13

Conversation

@colesbury

@colesburycolesbury commented Feb 26, 2025

Copy link
Copy Markdown
Contributor

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

Fix a few thread-safety bugs to enable test_opcache when run with TSAN:
* Use relaxed atomics when clearing `ht->_spec_cache.getitem`
(pythongh-115999)
* Add temporary suppression for type slot modifications (pythongh-127266)
* Use atomic load when reading `*dictptr`
(cherry picked from commit f151d27)
Co-authored-by: Sam Gross <colesbury@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@colesbury