René's URL Explorer Experiment


Title: gh-112529: Use _PyThread_Id() in mimalloc (free-threaded build) by colesbury · Pull Request #115488 · python/cpython · GitHub

Open Graph Title: gh-112529: Use _PyThread_Id() in mimalloc (free-threaded build) by colesbury · Pull Request #115488 · python/cpython

X Title: gh-112529: Use _PyThread_Id() in mimalloc (free-threaded build) by colesbury · Pull Request #115488 · python/cpython

Description: The free-threaded GC uses mimallocs segment thread IDs to restore the overwritten ob_tid thread ids in PyObjects. For that reason, it's important that PyObjects and mimalloc use the same identifier...

Open Graph Description: The free-threaded GC uses mimallocs segment thread IDs to restore the overwritten ob_tid thread ids in PyObjects. For that reason, it's important that PyObjects and mimalloc use the same identi...

X Description: The free-threaded GC uses mimallocs segment thread IDs to restore the overwritten ob_tid thread ids in PyObjects. For that reason, it's important that PyObjects and mimalloc use the same id...

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

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:db877ae3-87a1-00f0-ead7-ff7f14eb733b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD154:BD288:8FF733:C7E53A:6964FDE4
html-safe-nonce406ea939fd988eff624be864dcc8f89b1ad529ca888c972f6e870e96f50c410d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTU0OkJEMjg4OjhGRjczMzpDN0U1M0E6Njk2NEZERTQiLCJ2aXNpdG9yX2lkIjoiMzQxODcxNTQyNzMxNzI4NDMyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca121d7e0b62c92e558491ba1e97f13482c07fbd02ff9db230bd571120e87e5cf
hovercard-subject-tagpull_request:1726403801
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/115488/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ff7529dae5944f9ff44cff98ee3299a5646b2b8389d4ae8e657f68d4e0318ad2/python/cpython/pull/115488
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ff7529dae5944f9ff44cff98ee3299a5646b2b8389d4ae8e657f68d4e0318ad2/python/cpython/pull/115488
og:image:altThe free-threaded GC uses mimallocs segment thread IDs to restore the overwritten ob_tid thread ids in PyObjects. For that reason, it's important that PyObjects and mimalloc use the same identi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecolesbury
hostnamegithub.com
expected-hostnamegithub.com
None409eef8307c7b2774ef22b51d9c9bea7aae00b7c42378f10825b0de95e35b3d8
turbo-cache-controlno-preview
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
release0f2726e2829a4524ee45b32f55dabe51189d33b0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/115488#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F115488
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F115488
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/115488
Reloadhttps://github.com/python/cpython/pull/115488
Reloadhttps://github.com/python/cpython/pull/115488
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/115488
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/115488
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 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/115488#issue-comment-box
colesburyhttps://github.com/colesbury
python:mainhttps://github.com/python/cpython/tree/main
colesbury:gh-112529-thread-idhttps://github.com/colesbury/cpython/tree/gh-112529-thread-id
gh-112529: Use _PyThread_Id() in mimalloc (free-threaded build) https://github.com/python/cpython/pull/115488#top
colesburyhttps://github.com/colesbury
python:mainhttps://github.com/python/cpython/tree/main
colesbury:gh-112529-thread-idhttps://github.com/colesbury/cpython/tree/gh-112529-thread-id
Conversation 1 https://github.com/python/cpython/pull/115488
Commits 1 https://github.com/python/cpython/pull/115488/commits
Checks 0 https://github.com/python/cpython/pull/115488/checks
Files changed https://github.com/python/cpython/pull/115488/files
Please reload this pagehttps://github.com/python/cpython/pull/115488
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Feb 14, 2024https://github.com/python/cpython/pull/115488#issue-2135124675
Please reload this pagehttps://github.com/python/cpython/pull/115488
Make the garbage collector thread-safe in --disable-gil builds #112529https://github.com/python/cpython/issues/112529
Please reload this pagehttps://github.com/python/cpython/pull/115488
https://github.com/colesbury
pythongh-112529https://github.com/python/cpython/issues/112529
: Use _PyThread_Id() in mimalloc (free-threaded build)https://github.com/python/cpython/pull/115488/commits/b8a58a29ac8a70c6d5979612f35dec094c55586d
b8a58a2https://github.com/python/cpython/pull/115488/commits/b8a58a29ac8a70c6d5979612f35dec094c55586d
https://github.com/colesbury
colesburyhttps://github.com/colesbury
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Feb 14, 2024https://github.com/python/cpython/pull/115488#event-11806510318
https://github.com/colesbury
colesburyhttps://github.com/colesbury
DinoVhttps://github.com/DinoV
February 14, 2024 20:11https://github.com/python/cpython/pull/115488#event-11806510335
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 14, 2024https://github.com/python/cpython/pull/115488#event-11806510828
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 14, 2024 https://github.com/python/cpython/pull/115488#ref-issue-2017021221
Make the garbage collector thread-safe in --disable-gil builds #112529 https://github.com/python/cpython/issues/112529
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Feb 14, 2024 https://github.com/python/cpython/pull/115488#ref-issue-2042466690
Mimalloc differences from upstream #113141 https://github.com/python/cpython/issues/113141
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Feb 14, 2024 https://github.com/python/cpython/pull/115488#pullrequestreview-1881345971
View reviewed changes https://github.com/python/cpython/pull/115488/files/b8a58a29ac8a70c6d5979612f35dec094c55586d
DinoVhttps://github.com/DinoV
https://github.com/python/cpython/pull/115488#pullrequestreview-1881345971
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/115488
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 14, 2024https://github.com/python/cpython/pull/115488#event-11807244137
https://github.com/colesbury
colesburyhttps://github.com/colesbury
326119dhttps://github.com/python/cpython/commit/326119d3731f784aa9f5d4afa7b687dd1ab1d916
Feb 14, 2024https://github.com/python/cpython/pull/115488#event-11807314995
https://github.com/colesbury
colesburyhttps://github.com/colesbury
February 14, 2024 21:41https://github.com/python/cpython/pull/115488#event-11807315389
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Feb 14, 2024https://github.com/python/cpython/pull/115488#event-11807315390
colesburyhttps://github.com/colesbury
Feb 15, 2024 https://github.com/python/cpython/pull/115488#ref-commit-c780e77
https://github.com/colesbury
pythongh-112529https://github.com/python/cpython/issues/112529
: Revert "Use _PyThread_Id() in mimalloc in free-threa…https://github.com/colesbury/cpython/commit/c780e77756e45786b726e9df3559693d41d7d4ed
c780e77https://github.com/colesbury/cpython/commit/c780e77756e45786b726e9df3559693d41d7d4ed
python#115488https://github.com/python/cpython/pull/115488
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Feb 15, 2024 https://github.com/python/cpython/pull/115488#ref-pullrequest-2136791188
gh-112529: Revert "Use _PyThread_Id() in mimalloc in free-threaded build" #115524 https://github.com/python/cpython/pull/115524
daanxhttps://github.com/daanx
May 19, 2024 https://github.com/python/cpython/pull/115488#ref-commit-66052f1
https://github.com/daanx
allow custom thread id, upstream ofhttps://github.com/microsoft/mimalloc/commit/66052f135fa3454d3474b217ab191d6395d873da
python/cpython#115488https://github.com/python/cpython/pull/115488
)https://github.com/microsoft/mimalloc/commit/66052f135fa3454d3474b217ab191d6395d873da
66052f1https://github.com/microsoft/mimalloc/commit/66052f135fa3454d3474b217ab191d6395d873da
kwvghttps://github.com/kwvg
Oct 27, 2025 https://github.com/python/cpython/pull/115488#ref-commit-3e1d2ea
https://github.com/kwvg
Squashed 'depends/mimalloc/' changes from 91ba1f374..7a2a41134https://github.com/kwvg/bls-signatures/commit/3e1d2eafde030899d10559d3be95f928e6cbec17
3e1d2eahttps://github.com/kwvg/bls-signatures/commit/3e1d2eafde030899d10559d3be95f928e6cbec17
kwvghttps://github.com/kwvg
Nov 7, 2025 https://github.com/python/cpython/pull/115488#ref-commit-cf419f0
https://github.com/kwvg
Squashed 'depends/mimalloc/' changes from 91ba1f374..b0958d81fhttps://github.com/kwvg/bls-signatures/commit/cf419f0bfaebef3372bea96861a09911d38b21ba
cf419f0https://github.com/kwvg/bls-signatures/commit/cf419f0bfaebef3372bea96861a09911d38b21ba
kwvghttps://github.com/kwvg
Nov 7, 2025 https://github.com/python/cpython/pull/115488#ref-commit-7b91a9c
https://github.com/kwvg
Squashed 'depends/mimalloc/' changes from 91ba1f374..dfa50c37dhttps://github.com/kwvg/bls-signatures/commit/7b91a9ccc861fa326ec6f67d0ae8de342e641ea2
7b91a9chttps://github.com/kwvg/bls-signatures/commit/7b91a9ccc861fa326ec6f67d0ae8de342e641ea2
kwvghttps://github.com/kwvg
Nov 12, 2025 https://github.com/python/cpython/pull/115488#ref-commit-da7905c
https://github.com/kwvg
Squashed 'depends/mimalloc/' changes from 91ba1f374..dfa50c37dhttps://github.com/kwvg/bls-signatures/commit/da7905c9238bf067db31bd514188fc1d3bcfb464
da7905chttps://github.com/kwvg/bls-signatures/commit/da7905c9238bf067db31bd514188fc1d3bcfb464
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%2F115488
https://github.com/DinoV
DinoV https://github.com/DinoV
https://github.com/python/cpython/pull/115488/files/b8a58a29ac8a70c6d5979612f35dec094c55586d
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
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/115488
https://github.com/colesbury
https://github.com/DinoV
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.