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

Appearance settings

[3.14] gh-142531: Fix free-threaded GC performance regression (gh-142562)#142617

Merged
nascheme merged 1 commit into
python:3.14python/cpython:3.14from
nascheme:gh-142531-gc-untracked-3.14nascheme/cpython:gh-142531-gc-untracked-3.14Copy head branch name to clipboard
Dec 12, 2025
Merged

[3.14] gh-142531: Fix free-threaded GC performance regression (gh-142562)#142617
nascheme merged 1 commit into
python:3.14python/cpython:3.14from
nascheme:gh-142531-gc-untracked-3.14nascheme/cpython:gh-142531-gc-untracked-3.14Copy head branch name to clipboard

Conversation

@nascheme

@nascheme nascheme commented Dec 12, 2025

Copy link
Copy Markdown
Member

If there are many untracked tuples, the GC will run too often, resulting
in poor performance. The fix is to include untracked tuples in the
"long lived" object count. The number of frozen objects is also now
included since the free-threaded GC must scan those too.
(cherry picked from commit e38967e)

…ythongh-142562)

If there are many untracked tuples, the GC will run too often, resulting
in poor performance.  The fix is to include untracked tuples in the
"long lived" object count. The number of frozen objects is also now
included since the free-threaded GC must scan those too.
(cherry picked from commit e38967e)
@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @nascheme for commit a6b237f 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F142617%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Dec 12, 2025
@nascheme nascheme marked this pull request as ready for review December 12, 2025 22:30
@nascheme nascheme merged commit 27f27a6 into python:3.14 Dec 12, 2025
113 of 115 checks passed
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.