◐ Shell
reader mode source ↗
Skip to content

gh-117783: Immortalize objects that use deferred reference counting#118112

Merged
colesbury merged 6 commits into
python:mainfrom
colesbury:gh-117783-immortalize
Apr 29, 2024
Merged

gh-117783: Immortalize objects that use deferred reference counting#118112
colesbury merged 6 commits into
python:mainfrom
colesbury:gh-117783-immortalize

Conversation

@colesbury

@colesbury colesbury commented Apr 19, 2024

Copy link
Copy Markdown
Contributor

Deferred reference counting is not fully implemented yet. As a temporary measure, we immortalize objects that would use deferred reference counting to avoid multi-threaded scaling bottlenecks.

This is only performed in the free-threaded build once the first non-main thread is started. Additionally, some tests, including refleak tests, suppress this behavior.

…ting

Deferred reference counting is not fully implemented yet. As a temporary
measure, we immortalize objects that would use deferred reference
counting to avoid multi-threaded scaling bottlenecks.

This is only performed in the free-threaded build once the first
non-main thread is started. Additionally, some tests, including refleak
tests, suppress this behavior.
@colesbury colesbury added the 🔨 test-with-refleak-buildbots Test PR w/ refleak buildbots; report in status section label Apr 19, 2024
@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @colesbury for commit 0cab82c 🤖

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

@bedevere-bot bedevere-bot removed the 🔨 test-with-refleak-buildbots Test PR w/ refleak buildbots; report in status section label Apr 19, 2024
@colesbury colesbury marked this pull request as ready for review April 19, 2024 21:37
@colesbury colesbury requested a review from DinoV April 19, 2024 21:37
@rhettinger rhettinger removed their request for review April 21, 2024 19:11

@DinoV DinoV left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

LGTM!

@colesbury colesbury merged commit 7ccacb2 into python:main Apr 29, 2024
@colesbury colesbury deleted the gh-117783-immortalize branch April 29, 2024 18:36
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.

3 participants