Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.14] gh-136870: fix data races in instrumentation of bytecode (GH-136994)#137082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
hugovk merged 2 commits intopython:3.14frommiss-islington:backport-9a6b60a-3.14
Jul 28, 2025

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedJul 24, 2025
edited by bedevere-appbot
Loading

De-instrumenting code objects modifies the thread local bytecode for all threads as such, holding the critical section on the code object is not sufficient and leads to data races. Now, the de-instrumentation is now performed under a stop the world pause as such no thread races with executing the thread local bytecode while it is being de-instrumented.
(cherry picked from commit9a6b60a)

Co-authored-by: Kumar Adityakumaraditya@python.org

…nGH-136994)De-instrumenting code objects modifies the thread local bytecode for all threads as such, holding the critical section on the code object is not sufficient and leads to data races. Now, the de-instrumentation is now performed under a stop the world pause as such no thread races with executing the thread local bytecode while it is being de-instrumented.(cherry picked from commit9a6b60a)Co-authored-by: Kumar Aditya <kumaraditya@python.org>
@hugovkhugovk merged commit909a534 intopython:3.14Jul 28, 2025
42 checks passed
kumaraditya303 added a commit to miss-islington/cpython that referenced this pull requestSep 9, 2025
…pythonGH-136994) (python#137082)Co-authored-by: Kumar Aditya <kumaraditya@python.org>Co-authored-by: Zachary Ware <zach@python.org>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@colesburycolesburycolesbury approved these changes

@kumaraditya303kumaraditya303kumaraditya303 approved these changes

Assignees

@hugovkhugovk

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@miss-islington@colesbury@kumaraditya303@hugovk@zware

[8]ページ先頭

©2009-2025 Movatter.jp