FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-117657: Enable test_opcache under TSAN by colesbury · Pull Request #129831 · python/cpython · GitHub

/ cpython Public

gh-117657: Enable test_opcache under TSAN - #129831

Merged
colesbury merged 1 commit into
python:mainfrom
colesbury:gh-117657-opcache
Feb 11, 2025
Merged

gh-117657: Enable test_opcache under TSAN#129831
colesbury merged 1 commit into
python:mainfrom
colesbury:gh-117657-opcache

Conversation

colesbury commented Feb 7, 2025
edited
Loading

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`
colesbury merged commit f151d27 into python:main Feb 11, 2025
colesbury deleted the gh-117657-opcache branch February 11, 2025 21:53
colesbury added the needs backport to 3.13 bugs and security fixes label Feb 26, 2025

Copy link
Copy Markdown

Thanks @colesbury for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

Copy link
Copy Markdown

Sorry, @colesbury, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker f151d271591ec525eaf01fa7b128e575374888b9 3.13

colesbury added a commit to colesbury/cpython that referenced this pull request Feb 26, 2025
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>

bedevere-app Bot commented Feb 26, 2025

Copy link
Copy Markdown

GH-130597 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Feb 26, 2025
colesbury added a commit that referenced this pull request Feb 26, 2025
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`

(cherry picked from commit f151d27)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to 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.

2 participants


Back | FazBrowse Home | New Git URL