René's URL Explorer Experiment


Title: gh-113141: Upgrade mimalloc to upstream v3 by DinoV · Pull Request #159718 · python/cpython · GitHub

Open Graph Title: gh-113141: Upgrade mimalloc to upstream v3 by DinoV · Pull Request #159718 · python/cpython

X Title: gh-113141: Upgrade mimalloc to upstream v3 by DinoV · Pull Request #159718 · python/cpython

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

Open Graph Description: This upgrades mimalloc to v3 - the initial work here was done by @daanx and this pushes it over the edge to getting all CI passing and conforming we're at parity with the existing implementatio...

X Description: This upgrades mimalloc to v3 - the initial work here was done by @daanx and this pushes it over the edge to getting all CI passing and conforming we're at parity with the existing implement...

Mail addresses
daanl@outlook.com

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:64aa5bd6-a0f8-d467-314a-a12fd5e832ad
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id864E:5D487:12477EC:183C29B:6B01EDDF
html-safe-nonce1182773662429742761704e599616a5e8cca8f74cc3c41618388fc62ae09d7d2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjRFOjVENDg3OjEyNDc3RUM6MTgzQzI5Qjo2QjAxRURERiIsInZpc2l0b3JfaWQiOiIzMzk5NDQ1NjI3MDc0MTEyOTkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf8856ae2f683fab0c07f3322443feab1eb7a02cc7d40281850ef8bd1f450346d
hovercard-subject-tagpull_request:4924574082
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/159718/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/282a3ed22454371b1ad4dce3b2a10e69f24ff29d1f9c138be3f22fd9342c78f5/python/cpython/pull/159718
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/282a3ed22454371b1ad4dce3b2a10e69f24ff29d1f9c138be3f22fd9342c78f5/python/cpython/pull/159718
og:image:altThis upgrades mimalloc to v3 - the initial work here was done by @daanx and this pushes it over the edge to getting all CI passing and conforming we're at parity with the existing implementatio...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDinoV
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/159718#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F159718
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F159718
Sign uphttps://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/159718
Reloadhttps://github.com/python/cpython/pull/159718
Reloadhttps://github.com/python/cpython/pull/159718
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
DinoVhttps://github.com/DinoV
python:mainhttps://github.com/python/cpython/tree/main
DinoV:mimallocv3https://github.com/DinoV/cpython/tree/mimallocv3
Conversationhttps://github.com/python/cpython/pull/159718
Commits28 (28)https://github.com/python/cpython/pull/159718/commits
Checkshttps://github.com/python/cpython/pull/159718/checks
Files changedhttps://github.com/python/cpython/pull/159718/files
gh-113141: Upgrade mimalloc to upstream v3https://github.com/python/cpython/pull/159718#top
DinoVhttps://github.com/DinoV
python:mainhttps://github.com/python/cpython/tree/main
DinoV:mimallocv3https://github.com/DinoV/cpython/tree/mimallocv3
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 19, 2026https://github.com/python/cpython/pull/159718#issue-5928176984
Please reload this pagehttps://github.com/python/cpython/pull/159718
@daanxhttps://github.com/daanx
Mimalloc differences from upstream #113141https://github.com/python/cpython/issues/113141
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Oct 19, 2026https://github.com/python/cpython/pull/159718#issuecomment-6272812495
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Oct 19, 2026https://github.com/python/cpython/pull/159718#issuecomment-6272878830
Please reload this pagehttps://github.com/python/cpython/pull/159718
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#35312361https://app.readthedocs.org/projects/cpython-previews/builds/35312361/
cff014bhttps://github.com/python/cpython/commit/cff014bb18d5c8ac34b8252e4b17ec28f85e2164
mainhttps://cpython-previews.readthedocs.io/en/main/
415ebffhttps://github.com/python/cpython/commit/415ebffc47e8303d61cf97faf4ddb474334d736d
  🔍 Preview build   https://cpython-previews--159718.org.readthedocs.build/en/159718/
c-api/pyexpat.htmlhttps://cpython-previews--159718.org.readthedocs.build/en/159718/c-api/pyexpat.html
license.htmlhttps://cpython-previews--159718.org.readthedocs.build/en/159718/license.html
py-modindex.htmlhttps://cpython-previews--159718.org.readthedocs.build/en/159718/py-modindex.html
c-api/code.htmlhttps://cpython-previews--159718.org.readthedocs.build/en/159718/c-api/code.html
c-api/conversion.htmlhttps://cpython-previews--159718.org.readthedocs.build/en/159718/c-api/conversion.html
c-api/descriptor.htmlhttps://cpython-previews--159718.org.readthedocs.build/en/159718/c-api/descriptor.html
c-api/dict.htmlhttps://cpython-previews--159718.org.readthedocs.build/en/159718/c-api/dict.html
c-api/exceptions.htmlhttps://cpython-previews--159718.org.readthedocs.build/en/159718/c-api/exceptions.html
c-api/extension-modules.htmlhttps://cpython-previews--159718.org.readthedocs.build/en/159718/c-api/extension-modules.html
c-api/file.htmlhttps://cpython-previews--159718.org.readthedocs.build/en/159718/c-api/file.html
c-api/function.htmlhttps://cpython-previews--159718.org.readthedocs.build/en/159718/c-api/function.html
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/apps/github-advanced-security
github-advanced-securityhttps://github.com/apps/github-advanced-security
Oct 19, 2026 https://github.com/python/cpython/pull/159718#pullrequestreview-5575181065
View reviewed changes https://github.com/python/cpython/pull/159718/files
Objects/mimalloc/util/libc.chttps://github.com/python/cpython/pull/159718/files#diff-2d974a2779a01f076ca703fe730284787b1fee1885f432feab4626244ed2a7e1
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Oct 19, 2026https://github.com/python/cpython/pull/159718#issuecomment-6273031332
@daanxhttps://github.com/daanx
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/daanx
daanxhttps://github.com/daanx
Oct 19, 2026https://github.com/python/cpython/pull/159718#issuecomment-6274048490
@daanxhttps://github.com/daanx
cedd47bhttps://github.com/python/cpython/commit/cedd47b3c4fc1cb89806779e65fff73e262db738
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/daanx
daanxhttps://github.com/daanx
Oct 19, 2026 https://github.com/python/cpython/pull/159718#pullrequestreview-5578031372
View reviewed changes https://github.com/python/cpython/pull/159718/files
daanxhttps://github.com/daanx
https://github.com/python/cpython/pull/159718#pullrequestreview-5578031372
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 20, 2026https://github.com/python/cpython/pull/159718#issuecomment-6280099257
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 20, 2026https://github.com/python/cpython/pull/159718#issuecomment-6280141609
@corona10https://github.com/corona10
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/corona10
corona10https://github.com/corona10
corona10https://github.com/corona10
DinoVhttps://github.com/DinoV
itamarohttps://github.com/itamaro
Oct 20, 2026https://github.com/python/cpython/pull/159718#event-33696766868
https://github.com/corona10
corona10https://github.com/corona10
Oct 20, 2026https://github.com/python/cpython/pull/159718#issuecomment-6280627112
2599016https://github.com/python/cpython/commit/2599016c5fc887cfa9903ce8d5104805ca32326d
cpython/Objects/mimalloc/os.chttps://github.com/python/cpython/blob/34fe59b878335856ddfec5137fc989f4ec36a973/Objects/mimalloc/os.c#L245-L268
34fe59bhttps://github.com/python/cpython/commit/34fe59b878335856ddfec5137fc989f4ec36a973
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/corona10
corona10https://github.com/corona10
Oct 20, 2026https://github.com/python/cpython/pull/159718#issuecomment-6280696354
About guardrail for memory pressurehttps://discuss.python.org/t/pep-779-criteria-for-supported-status-for-free-threaded-python/84319/123
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 20, 2026https://github.com/python/cpython/pull/159718#issuecomment-6282988216
https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/39346123598https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/39346123598
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 20, 2026https://github.com/python/cpython/pull/159718#issuecomment-6283040319
@daanxhttps://github.com/daanx
cedd47bhttps://github.com/python/cpython/commit/cedd47b3c4fc1cb89806779e65fff73e262db738
https://docs.python.org/3/license.html#mimallochttps://docs.python.org/3/license.html#mimalloc
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/corona10
corona10https://github.com/corona10
Oct 20, 2026https://github.com/python/cpython/pull/159718#issuecomment-6283105851
https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/39346123598https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/39346123598
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/corona10
corona10https://github.com/corona10
Oct 20, 2026 https://github.com/python/cpython/pull/159718#pullrequestreview-5580785360
View reviewed changes https://github.com/python/cpython/pull/159718/files
Objects/obmalloc.chttps://github.com/python/cpython/pull/159718/files#diff-399a22135f328b4e42b0722ef216587945eedf2d8c103a584a3dca5b30650329
corona10https://github.com/corona10
Oct 20, 2026https://github.com/python/cpython/pull/159718#discussion_r4321483707
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/159718
corona10https://github.com/corona10
Oct 20, 2026https://github.com/python/cpython/pull/159718#discussion_r4321492341
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
cpython/Objects/obmalloc.chttps://github.com/python/cpython/blob/4c73f50ca9885e5850dae64463e87cf5e80992a1/Objects/obmalloc.c#L249
4c73f50https://github.com/python/cpython/commit/4c73f50ca9885e5850dae64463e87cf5e80992a1
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 20, 2026https://github.com/python/cpython/pull/159718#issuecomment-6283846641
https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/39373144391https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/39373144391
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 20, 2026https://github.com/python/cpython/pull/159718#issuecomment-6298664613
https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/39373144391https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/39373144391
https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/39476892845https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/39476892845
3c8be4fhttps://github.com/python/cpython/commit/3c8be4f527078397cb43f40d683c7d518027d08d
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 20, 2026https://github.com/python/cpython/pull/159718#issuecomment-6300864878
https://github.com/facebookexperimental/free-threading-benchmarking/tree/main/results/bm-20261020-3.16.0a1+dev-3c8be4f-NOGILhttps://github.com/facebookexperimental/free-threading-benchmarking/tree/main/results/bm-20261020-3.16.0a1+dev-3c8be4f-NOGIL
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 20, 2026https://github.com/python/cpython/pull/159718#issuecomment-6301502797
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/39497633255https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/39497633255
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 20, 2026https://github.com/python/cpython/pull/159718#event-33786183163
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 20, 2026 https://github.com/python/cpython/pull/159718#ref-issue-2042466690
Mimalloc differences from upstream #113141 https://github.com/python/cpython/issues/113141
https://github.com/corona10
corona10https://github.com/corona10
Oct 20, 2026 https://github.com/python/cpython/pull/159718#ref-pullrequest-5947867738
gh-131999: Add support for tvOS, visionOS and watchOS. #159944 https://github.com/python/cpython/pull/159944
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 21, 2026https://github.com/python/cpython/pull/159718#issuecomment-6306626240
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 21, 2026https://github.com/python/cpython/pull/159718#issuecomment-6308536317
https://github.com/facebookexperimental/free-threading-benchmarking/tree/main/results/bm-20261020-3.16.0a1+dev-a36efb6-NOGILhttps://github.com/facebookexperimental/free-threading-benchmarking/tree/main/results/bm-20261020-3.16.0a1+dev-a36efb6-NOGIL
a36efb6https://github.com/python/cpython/commit/a36efb6396afb895a7c131c23ad5a445a4d7c221
@daanxhttps://github.com/daanx
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 21, 2026https://github.com/python/cpython/pull/159718#issuecomment-6323303890
https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/39651451425https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/39651451425
microsoft/mimalloc#1445https://github.com/microsoft/mimalloc/pull/1445
microsoft/mimalloc#1446https://github.com/microsoft/mimalloc/pull/1446
microsoft/mimalloc#1447https://github.com/microsoft/mimalloc/pull/1447
microsoft/mimalloc#1448https://github.com/microsoft/mimalloc/pull/1448
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 21, 2026https://github.com/python/cpython/pull/159718#issuecomment-6323393818
Please reload this pagehttps://github.com/python/cpython/pull/159718
#118072https://github.com/python/cpython/issues/118072
#134070https://github.com/python/cpython/issues/134070
#113141https://github.com/python/cpython/issues/113141
#159111https://github.com/python/cpython/issues/159111
#134070https://github.com/python/cpython/issues/134070
#133571https://github.com/python/cpython/issues/133571
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Oct 21, 2026https://github.com/python/cpython/pull/159718#event-33876147593
https://github.com/DinoV
DinoVhttps://github.com/DinoV
🔨 test-with-refleak-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-refleak-buildbots%22
Oct 21, 2026https://github.com/python/cpython/pull/159718#event-33880242655
DinoVhttps://github.com/DinoV
November 3, 2026 09:58https://github.com/python/cpython/pull/159718#commits-pushed-efd6b5b
https://github.com/DinoV
Revert mi_option_page_full_retainhttps://github.com/python/cpython/pull/159718/commits/efd6b5b15d351c4338161f640fb187984ebb775f
efd6b5bhttps://github.com/python/cpython/pull/159718/commits/efd6b5b15d351c4338161f640fb187984ebb775f
https://github.com/DinoV
Update slice shift definehttps://github.com/python/cpython/pull/159718/commits/80f2c4377eccfa53236d8acbe25e350792fc4f23
80f2c43https://github.com/python/cpython/pull/159718/commits/80f2c4377eccfa53236d8acbe25e350792fc4f23
https://github.com/DinoV
DinoVhttps://github.com/DinoV
force-pushedhttps://github.com/python/cpython/compare/2934fd1085679c2137166a9368ab8fba856a3a89..80f2c4377eccfa53236d8acbe25e350792fc4f23
2934fd1https://github.com/python/cpython/commit/2934fd1085679c2137166a9368ab8fba856a3a89
80f2c43https://github.com/python/cpython/commit/80f2c4377eccfa53236d8acbe25e350792fc4f23
Compare https://github.com/python/cpython/compare/2934fd1085679c2137166a9368ab8fba856a3a89..80f2c4377eccfa53236d8acbe25e350792fc4f23
November 3, 2026 17:59https://github.com/python/cpython/pull/159718#event-35049645298
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Nov 3, 2026https://github.com/python/cpython/pull/159718#issuecomment-6611639911
#160360https://github.com/python/cpython/pull/160360
https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/41690003577https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/41690003577
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
Run again w/o slice shifthttps://github.com/python/cpython/pull/159718/commits/48883a281d72773b18c11b3ad0eddbb455f50f70
48883a2https://github.com/python/cpython/pull/159718/commits/48883a281d72773b18c11b3ad0eddbb455f50f70
https://github.com/DinoV
DinoVhttps://github.com/DinoV
Nov 3, 2026https://github.com/python/cpython/pull/159718#issuecomment-6612077444
https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/41693317724https://github.com/facebookexperimental/free-threading-benchmarking/actions/runs/41693317724
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/maikschulze
maikschulzehttps://github.com/maikschulze
Nov 5, 2026 https://github.com/python/cpython/pull/159718#ref-issue-6223137446
Free-threaded 3.14.10 and 3.15.2 keep memory freed by other threads: 10 GB peaks since the mimalloc 2.5.2 update #161420 https://github.com/python/cpython/issues/161420
https://github.com/maikschulze
maikschulzehttps://github.com/maikschulze
Nov 5, 2026https://github.com/python/cpython/pull/159718#issuecomment-6658209869
#161420https://github.com/python/cpython/issues/161420
#161420https://github.com/python/cpython/issues/161420
#161420https://github.com/python/cpython/issues/161420
this comment on microsoft/mimalloc#1117https://github.com/microsoft/mimalloc/issues/1117#issuecomment-6658057783
Please reload this pagehttps://github.com/python/cpython/pull/159718
daanxhttps://github.com/daanx
Nov 8, 2026 https://github.com/python/cpython/pull/159718#ref-commit-6a7e041
https://github.com/daanx
with no-abandon heaps (page_full_retain=-1) ensure huge pages are mor…https://github.com/microsoft/mimalloc/commit/6a7e04143df15b9c60f8f1711152a1a5c3d09373
6a7e041https://github.com/microsoft/mimalloc/commit/6a7e04143df15b9c60f8f1711152a1a5c3d09373
python/cpython#159718https://github.com/python/cpython/pull/159718
daanxhttps://github.com/daanx
Nov 8, 2026 https://github.com/python/cpython/pull/159718#ref-commit-c0ee872
https://github.com/daanx
clear the qsbr owner thread id of pages when a theap abandons all its…https://github.com/microsoft/mimalloc/commit/c0ee872fbf97669865e2042a71d3000e6021610b
c0ee872https://github.com/microsoft/mimalloc/commit/c0ee872fbf97669865e2042a71d3000e6021610b
python/cpython#159718https://github.com/python/cpython/pull/159718
https://github.com/daanx
daanxhttps://github.com/daanx
Nov 9, 2026https://github.com/python/cpython/pull/159718#issuecomment-6729010108
Please reload this pagehttps://github.com/python/cpython/pull/159718
@maikschulzehttps://github.com/maikschulze
@DinoVhttps://github.com/DinoV
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/maikschulze
maikschulzehttps://github.com/maikschulze
Nov 9, 2026https://github.com/python/cpython/pull/159718#issuecomment-6745983493
@daanxhttps://github.com/daanx
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/daanx
daanxhttps://github.com/daanx
Nov 10, 2026https://github.com/python/cpython/pull/159718#issuecomment-6773545445
Please reload this pagehttps://github.com/python/cpython/pull/159718
@maikschulzehttps://github.com/maikschulze
@DinoVhttps://github.com/DinoV
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/maikschulze
maikschulzehttps://github.com/maikschulze
Nov 11, 2026https://github.com/python/cpython/pull/159718#issuecomment-6793774697
#161420https://github.com/python/cpython/issues/161420
e8c0584877https://github.com/python/cpython/commit/e8c0584877e0b0a82ee8e0707336d8df4d68ccb4
48883a281dhttps://github.com/python/cpython/pull/159718/commits/48883a281d72773b18c11b3ad0eddbb455f50f70
6a7e041https://github.com/microsoft/mimalloc/commit/6a7e04143df15b9c60f8f1711152a1a5c3d09373
#161420https://github.com/python/cpython/issues/161420
_PyMem_ProcessDelayedNoDealloc()https://github.com/python/cpython/blob/48883a281d72773b18c11b3ad0eddbb455f50f70/Objects/obmalloc.c#L1652-L1672
_mi_page_abandon()https://github.com/microsoft/mimalloc/blob/6a7e04143df15b9c60f8f1711152a1a5c3d09373/src/alloc/page.c#L539-L550
_mi_arenas_page_abandon()https://github.com/microsoft/mimalloc/blob/6a7e04143df15b9c60f8f1711152a1a5c3d09373/src/arena/arena-page.c#L339-L342
reclaimshttps://github.com/microsoft/mimalloc/blob/6a7e04143df15b9c60f8f1711152a1a5c3d09373/src/alloc/free.c#L618-L641
collecthttps://github.com/microsoft/mimalloc/blob/6a7e04143df15b9c60f8f1711152a1a5c3d09373/src/alloc/page.h#L22-L37
large allocationhttps://github.com/microsoft/mimalloc/blob/6a7e04143df15b9c60f8f1711152a1a5c3d09373/src/alloc/alloc-generic.c#L248-L249
gc_restore_tid changehttps://github.com/python/cpython/pull/159718#issuecomment-6773545445
_mi_page_qsbr_should_delay()https://github.com/microsoft/mimalloc/blob/6a7e04143df15b9c60f8f1711152a1a5c3d09373/include/mimalloc/alloc/page.h#L608-L620
_mi_os_good_alloc_size()https://github.com/microsoft/mimalloc/blob/6a7e04143df15b9c60f8f1711152a1a5c3d09373/src/prim/os.c#L176-L185
arena_purge_immediate_sizehttps://github.com/microsoft/mimalloc/blob/6a7e04143df15b9c60f8f1711152a1a5c3d09373/src/arena/arena-alloc.c#L411
microsoft/mimalloc#1422https://github.com/microsoft/mimalloc/issues/1422
bbe184aehttps://github.com/microsoft/mimalloc/commit/bbe184aeadfa55e3ffe27e9e07e11a01d05f8916
Please reload this pagehttps://github.com/python/cpython/pull/159718
daanxhttps://github.com/daanx
Nov 11, 2026 https://github.com/python/cpython/pull/159718#ref-commit-7f615b5
https://github.com/daanx
do not reclaim empty abandoned QSBR pages to avoid retaining memory f…https://github.com/microsoft/mimalloc/commit/7f615b54bf9d3fed56b13d07b297353fb892033e
7f615b5https://github.com/microsoft/mimalloc/commit/7f615b54bf9d3fed56b13d07b297353fb892033e
python/cpython#159718https://github.com/python/cpython/pull/159718
daanxhttps://github.com/daanx
Nov 11, 2026 https://github.com/python/cpython/pull/159718#ref-commit-07db29a
https://github.com/daanx
Retain QSBR-protected singleton pages in the owning theap's huge queu…https://github.com/microsoft/mimalloc/commit/07db29aa986bb7cf57077e7017596afb6380572e
07db29ahttps://github.com/microsoft/mimalloc/commit/07db29aa986bb7cf57077e7017596afb6380572e
python/cpython#159718https://github.com/python/cpython/pull/159718
https://github.com/daanx
daanxhttps://github.com/daanx
Nov 11, 2026https://github.com/python/cpython/pull/159718#issuecomment-6804968814
@maikschulzehttps://github.com/maikschulze
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/maikschulze
maikschulzehttps://github.com/maikschulze
Nov 12, 2026https://github.com/python/cpython/pull/159718#issuecomment-6826224542
80899607d2https://github.com/microsoft/mimalloc/commit/80899607d249f07d0fcf328da11e5176ad40a8f7
6a7e041https://github.com/microsoft/mimalloc/commit/6a7e04143df15b9c60f8f1711152a1a5c3d09373
_mi_arenas_page_abandon()https://github.com/microsoft/mimalloc/blob/80899607d249f07d0fcf328da11e5176ad40a8f7/src/arena/arena-page.c#L311-L315
_mi_heap_collect_abandoned()https://github.com/microsoft/mimalloc/blob/80899607d249f07d0fcf328da11e5176ad40a8f7/src/arena/arena-heap.c#L194
only during a collectionhttps://github.com/python/cpython/blob/48883a281d72773b18c11b3ad0eddbb455f50f70/Objects/obmalloc.c#L1652-L1672
mi_segment_try_reclaim()https://github.com/python/cpython/blob/e8c0584877e0b0a82ee8e0707336d8df4d68ccb4/Objects/mimalloc/segment.c#L1359
gc_should_collect()https://github.com/python/cpython/blob/e8c0584877e0b0a82ee8e0707336d8df4d68ccb4/Python/gc_free_threading.c#L2032
re-checkhttps://github.com/python/cpython/blob/e8c0584877e0b0a82ee8e0707336d8df4d68ccb4/Python/gc_free_threading.c#L2259
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/daanx
daanxhttps://github.com/daanx
Nov 13, 2026https://github.com/python/cpython/pull/159718#issuecomment-6863560929
@maikschulzehttps://github.com/maikschulze
Please reload this pagehttps://github.com/python/cpython/pull/159718
gh-143620: Fix race condition in test_traceback_when_child_process_terminates_abruptly #143621 https://github.com/python/cpython/pull/143621
Free-threaded build: a two-object critical section that begins during a stop-the-world can leave its first mutex locked #162087 https://github.com/python/cpython/issues/162087
test_capi.test_unicode.test_check_interned fails on a default build that reads a .pyc written by a free-threaded build #162092 https://github.com/python/cpython/issues/162092
Free-threaded build: crash at exit when a starting thread binds a thread state that finalization has cleared #162109 https://github.com/python/cpython/issues/162109
PyGILStateEnsure() (Probably) Crashes If Called After Finalization #124619 https://github.com/python/cpython/issues/124619
https://github.com/maikschulze
maikschulzehttps://github.com/maikschulze
Nov 17, 2026https://github.com/python/cpython/pull/159718#issuecomment-6946204498
mi_theap_quiescent_abandon()https://github.com/microsoft/mimalloc/blob/v3.7.0/src/heap/theap.c#L573
fork noteshttps://github.com/microsoft/mimalloc/blob/v3.7.0/src/heap/subproc.c#L344-L366
#162109https://github.com/python/cpython/issues/162109
48883a2https://github.com/python/cpython/commit/48883a281d72773b18c11b3ad0eddbb455f50f70
e8c0584https://github.com/python/cpython/commit/e8c0584877e0b0a82ee8e0707336d8df4d68ccb4
mi_heap_visit_page()https://github.com/microsoft/mimalloc/blob/v3.7.0/src/arena/arena-heap.c#L36-L42
mi_thread_heap_release()https://github.com/microsoft/mimalloc/blob/v3.7.0/src/heap/heap.c#L328-L357
#129748https://github.com/python/cpython/issues/129748
_Py_TryIncrefFast()https://github.com/python/cpython/blob/48883a281d72/Include/internal/pycore_object.h#L520
PEP 703 allowshttps://peps.python.org/pep-0703/#mimalloc-changes-for-optimistic-list-and-dict-access
#134238https://github.com/python/cpython/pull/134238
a plain load and storehttps://github.com/microsoft/mimalloc/blob/v3.7.0/include/mimalloc/alloc/page.h#L817-L838
builds with --with-pydebughttps://github.com/python/cpython/blob/48883a281d72/.github/workflows/reusable-san.yml#L126-L147
7f615b54https://github.com/microsoft/mimalloc/commit/7f615b54bf9d
Free threading memory leak #145615https://github.com/python/cpython/issues/145615
mi_theap_collect_special_pages()https://github.com/microsoft/mimalloc/blob/v3.7.0/src/alloc/page.c#L759
Please reload this pagehttps://github.com/python/cpython/pull/159718
daanxhttps://github.com/daanx
Nov 19, 2026 https://github.com/python/cpython/pull/159718#ref-commit-2d63a0b
https://github.com/daanx
Force-collect claimed abandoned pages before visiting their blocks (https://github.com/microsoft/mimalloc/commit/2d63a0bab31d03d67b247d8a6e3cb4fce0202289
p…https://github.com/python/cpython/pull/159718
2d63a0bhttps://github.com/microsoft/mimalloc/commit/2d63a0bab31d03d67b247d8a6e3cb4fce0202289
…ython/cpython#159718https://github.com/python/cpython/pull/159718
daanxhttps://github.com/daanx
Nov 19, 2026 https://github.com/python/cpython/pull/159718#ref-commit-9d05c0b
https://github.com/daanx
Make the free-list link atomic (relaxed) for optimistic readers of fr…https://github.com/microsoft/mimalloc/commit/9d05c0b8a6cee09aa06c928531d0c2cb9ae12890
9d05c0bhttps://github.com/microsoft/mimalloc/commit/9d05c0b8a6cee09aa06c928531d0c2cb9ae12890
python/cpython#159718https://github.com/python/cpython/pull/159718
daanxhttps://github.com/daanx
Nov 19, 2026 https://github.com/python/cpython/pull/159718#ref-commit-a867c1b
https://github.com/daanx
Revive full pages with cross-thread frees more eagerly when abandonme…https://github.com/microsoft/mimalloc/commit/a867c1b434121eddaeeaaafade306c907259fb02
a867c1bhttps://github.com/microsoft/mimalloc/commit/a867c1b434121eddaeeaaafade306c907259fb02
python/cpython#159718https://github.com/python/cpython/pull/159718
https://github.com/daanx
daanxhttps://github.com/daanx
Nov 19, 2026https://github.com/python/cpython/pull/159718#issuecomment-7017616109
Please reload this pagehttps://github.com/python/cpython/pull/159718
2d63a0bhttps://github.com/microsoft/mimalloc/commit/2d63a0bab31d03d67b247d8a6e3cb4fce0202289
9d05c0bhttps://github.com/microsoft/mimalloc/commit/9d05c0b8a6cee09aa06c928531d0c2cb9ae12890
a867c1bhttps://github.com/microsoft/mimalloc/commit/a867c1b434121eddaeeaaafade306c907259fb02
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/daanx
daanxhttps://github.com/daanx
Nov 19, 2026https://github.com/python/cpython/pull/159718#issuecomment-7017830745
Please reload this pagehttps://github.com/python/cpython/pull/159718
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%2F159718
https://github.com/corona10
corona10 https://github.com/corona10
https://github.com/python/cpython/pull/159718/files/ea0ff6b646a03c21da14ea2ea41b910614091ec9
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
https://github.com/FFY00
FFY00 https://github.com/FFY00
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/erlend-aasland
erlend-aasland https://github.com/erlend-aasland
https://github.com/emmatyping
emmatyping https://github.com/emmatyping
https://github.com/itamaro
itamaro https://github.com/itamaro
https://github.com/ezio-melotti
ezio-melotti https://github.com/ezio-melotti
https://github.com/hugovk
hugovk https://github.com/hugovk
https://github.com/webknjaz
webknjaz https://github.com/webknjaz
https://github.com/JacobCoffee
JacobCoffee https://github.com/JacobCoffee
https://github.com/StanFromIreland
StanFromIreland https://github.com/StanFromIreland
https://github.com/daanx
daanx https://github.com/daanx
https://github.com/python/cpython/pull/159718/files/e5fa478c1afe2182e322024855bc1a15308b38d1
https://github.com/apps/github-advanced-security
github-advanced-security[bot] https://github.com/apps/github-advanced-security
https://github.com/python/cpython/pull/159718/files/d206e16c457d165c40e737624974d5139dd4e0fb
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/itamaro
itamaro https://github.com/itamaro
https://github.com/DinoV
DinoV https://github.com/DinoV
https://github.com/corona10
corona10 https://github.com/corona10
Please reload this pagehttps://github.com/python/cpython/pull/159718
https://github.com/DinoV
https://github.com/StanFromIreland
https://github.com/daanx
https://github.com/corona10
https://github.com/bedevere-bot
https://github.com/maikschulze
https://github.com/apps/github-advanced-security
https://github.com/itamaro
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.