Skip to content

Conversation

@sergey-miryanov
Copy link
Contributor

@sergey-miryanovsergey-miryanov commented Nov 8, 2025

From #116946 (comment):

There are a number of heap types which are currently unnecessary gc types like _thread.lock, it would be nice to remove that as it would reduce memory usage and reduce pressure on gc, in case anyone wants to work on it.

@sergey-miryanov
Copy link
ContributorAuthor

@kumaraditya303 Could you please take a look?

@kumaraditya303kumaraditya303 merged commit fbebca2 into python:mainNov 12, 2025
52 checks passed
@sergey-miryanov
Copy link
ContributorAuthor

Thanks!

kumaraditya303 added a commit to kumaraditya303/cpython that referenced this pull request Nov 12, 2025
kumaraditya303 added a commit that referenced this pull request Nov 12, 2025
… and `_thread.RLock` (#141448) Revert "GH-116946: eliminate the need for the GC in the `_thread.lock` and `_thread.RLock` (#141268)" This reverts commit fbebca2.
@efimov-mikhailefimov-mikhail added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Nov 12, 2025
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @efimov-mikhail for commit fb0dc6f 🤖

Results will be shown at:

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

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

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Nov 12, 2025
@efimov-mikhail
Copy link
Member

efimov-mikhail commented Nov 12, 2025

Oh, it seems that 🔨 test-with-buildbots label can't make something useful after PR have been merged.
Probably, that's okay.

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
….lock` and `_thread.RLock` (python#141448) Revert "pythonGH-116946: eliminate the need for the GC in the `_thread.lock` and `_thread.RLock` (python#141268)" This reverts commit fbebca2.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@sergey-miryanov@bedevere-bot@efimov-mikhail@kumaraditya303