René's URL Explorer Experiment


Title: GH-148937: Use adaptive collection threshold for free-threaded GC by nascheme · Pull Request #149371 · python/cpython · GitHub

Open Graph Title: GH-148937: Use adaptive collection threshold for free-threaded GC by nascheme · Pull Request #149371 · python/cpython

X Title: GH-148937: Use adaptive collection threshold for free-threaded GC by nascheme · Pull Request #149371 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: See GH-100403 for a previous discussion of this idea, for the default-build GC. Some details on the design of this have been posted on DPO. Issue: Inc GC in 3.14t can defer too much, resulting ...

X Description: See GH-100403 for a previous discussion of this idea, for the default-build GC. Some details on the design of this have been posted on DPO. Issue: Inc GC in 3.14t can defer too much, resulting ...

Opengraph URL: https://github.com/python/cpython/pull/149371

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d16a3252-17a0-cf54-7791-d2cc2cf4b209
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBCF4:DAA15:4B0240:64BD91:6A52F4D8
html-safe-nonce82e5437461b3d7d00f774f012455654ac9950a91cec0b6c71a8ce5705dfea3c0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0Y0OkRBQTE1OjRCMDI0MDo2NEJEOTE6NkE1MkY0RDgiLCJ2aXNpdG9yX2lkIjoiMzY4OTgzNjg2MTM5MDUxNzQ2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7c732aca971f837c4b44f964628ee38aa26e987ce2dab4a6c1d2e85a0e5aeef2
hovercard-subject-tagpull_request:3625298155
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/149371/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/803b25dd2087b40ce24e07c716aed78fc3d355ad2e902214bff84d6efe070033/python/cpython/pull/149371
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/803b25dd2087b40ce24e07c716aed78fc3d355ad2e902214bff84d6efe070033/python/cpython/pull/149371
og:image:altSee GH-100403 for a previous discussion of this idea, for the default-build GC. Some details on the design of this have been posted on DPO. Issue: Inc GC in 3.14t can defer too much, resulting ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenascheme
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/149371#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149371
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149371
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/149371
Reloadhttps://github.com/python/cpython/pull/149371
Reloadhttps://github.com/python/cpython/pull/149371
Please reload this pagehttps://github.com/python/cpython/pull/149371
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/149371
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
nascheme:gc_ft_adapthttps://github.com/nascheme/cpython/tree/gc_ft_adapt
Conversationhttps://github.com/python/cpython/pull/149371
Commits4 (4)https://github.com/python/cpython/pull/149371/commits
Checkshttps://github.com/python/cpython/pull/149371/checks
Files changedhttps://github.com/python/cpython/pull/149371/files
GH-148937: Use adaptive collection threshold for free-threaded GChttps://github.com/python/cpython/pull/149371#top
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
nascheme:gc_ft_adapthttps://github.com/nascheme/cpython/tree/gc_ft_adapt
https://github.com/nascheme
naschemehttps://github.com/nascheme
May 4, 2026https://github.com/python/cpython/pull/149371#issue-4378061213
Please reload this pagehttps://github.com/python/cpython/pull/149371
GH-100403https://github.com/python/cpython/issues/100403
designhttps://discuss.python.org/t/improving-incremental-gc/107067/24
Inc GC in 3.14t can defer too much, resulting in high memory use #148937https://github.com/python/cpython/issues/148937
Please reload this pagehttps://github.com/python/cpython/pull/149371
https://github.com/nascheme
naschemehttps://github.com/nascheme
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
May 4, 2026https://github.com/python/cpython/pull/149371#event-25141168565
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 4, 2026 https://github.com/python/cpython/pull/149371#ref-issue-4319011492
Inc GC in 3.14t can defer too much, resulting in high memory use #148937 https://github.com/python/cpython/issues/148937
naschemehttps://github.com/nascheme
May 5, 2026 02:50https://github.com/python/cpython/pull/149371#commits-pushed-ef76657
https://github.com/nascheme
Use adaptive collection threshold for free-threaded GC.https://github.com/python/cpython/pull/149371/commits/ef7665770a53a6f278078d337c6b1f1bafe97dcd
ef76657https://github.com/python/cpython/pull/149371/commits/ef7665770a53a6f278078d337c6b1f1bafe97dcd
https://github.com/nascheme
More robust threshold calculations.https://github.com/python/cpython/pull/149371/commits/b1dd2f83d6d9a457a8b5083d0c88506bb05e4941
b1dd2f8https://github.com/python/cpython/pull/149371/commits/b1dd2f83d6d9a457a8b5083d0c88506bb05e4941
https://github.com/nascheme
naschemehttps://github.com/nascheme
force-pushedhttps://github.com/python/cpython/compare/51d2af67f57aff01278e97e2c1b55d949c65f4a4..b1dd2f83d6d9a457a8b5083d0c88506bb05e4941
51d2af6https://github.com/python/cpython/commit/51d2af67f57aff01278e97e2c1b55d949c65f4a4
b1dd2f8https://github.com/python/cpython/commit/b1dd2f83d6d9a457a8b5083d0c88506bb05e4941
Compare https://github.com/python/cpython/compare/51d2af67f57aff01278e97e2c1b55d949c65f4a4..b1dd2f83d6d9a457a8b5083d0c88506bb05e4941
May 5, 2026 09:51https://github.com/python/cpython/pull/149371#event-25170317157
naschemehttps://github.com/nascheme
May 5, 2026 03:34https://github.com/python/cpython/pull/149371#commits-pushed-6a12aef
https://github.com/nascheme
Remove unneeded 'mutex' member.https://github.com/python/cpython/pull/149371/commits/6a12aef2fdee16aefa77c309e2d9f0e98685edde
6a12aefhttps://github.com/python/cpython/pull/149371/commits/6a12aef2fdee16aefa77c309e2d9f0e98685edde
https://github.com/nascheme
Add blurb, update docs, remove debug func.https://github.com/python/cpython/pull/149371/commits/67a2a6625c9d9f23aa29aafbcd2d0129cfdfaa8a
67a2a66https://github.com/python/cpython/pull/149371/commits/67a2a6625c9d9f23aa29aafbcd2d0129cfdfaa8a
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
May 5, 2026https://github.com/python/cpython/pull/149371#issuecomment-4378673083
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#32541961https://app.readthedocs.org/projects/cpython-previews/builds/32541961/
67a2a66https://github.com/python/cpython/commit/67a2a6625c9d9f23aa29aafbcd2d0129cfdfaa8a
mainhttps://cpython-previews.readthedocs.io/en/main/
f6d16a0https://github.com/python/cpython/commit/f6d16a0d708c611dd96bb739f0896a0b6d7e04e8
  🔍 Preview build   https://cpython-previews--149371.org.readthedocs.build/en/149371/
c-api/type.htmlhttps://cpython-previews--149371.org.readthedocs.build/en/149371/c-api/type.html
library/gc.htmlhttps://cpython-previews--149371.org.readthedocs.build/en/149371/library/gc.html
whatsnew/changelog.htmlhttps://cpython-previews--149371.org.readthedocs.build/en/149371/whatsnew/changelog.html
Please reload this pagehttps://github.com/python/cpython/pull/149371
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149371
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Please reload this pagehttps://github.com/python/cpython/pull/149371
https://github.com/nascheme
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.