René's URL Explorer Experiment


Title: Keep `ob_tid`, `ob_ref_local`, and `ob_ref_shared` fields valid across allocations in free-threaded build · Issue #115491 · python/cpython · GitHub

Open Graph Title: Keep `ob_tid`, `ob_ref_local`, and `ob_ref_shared` fields valid across allocations in free-threaded build · Issue #115491 · python/cpython

X Title: Keep `ob_tid`, `ob_ref_local`, and `ob_ref_shared` fields valid across allocations in free-threaded build · Issue #115491 · python/cpython

Description: Feature or enhancement The free-threaded implementation of dict and list try avoid acquiring locks during read operations. To support this, we need to be able to access the reference count fields of Python objects after they are dealloca...

Open Graph Description: Feature or enhancement The free-threaded implementation of dict and list try avoid acquiring locks during read operations. To support this, we need to be able to access the reference count fields o...

X Description: Feature or enhancement The free-threaded implementation of dict and list try avoid acquiring locks during read operations. To support this, we need to be able to access the reference count fields o...

Opengraph URL: https://github.com/python/cpython/issues/115491

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Keep `ob_tid`, `ob_ref_local`, and `ob_ref_shared` fields valid across allocations in free-threaded build","articleBody":"# Feature or enhancement\n\nThe free-threaded implementation of dict and list try avoid acquiring locks during read operations. To support this, we need to be able to access the reference count fields of Python objects after they are deallocated (and possibly reallocated). Some of this support is provided by https://github.com/python/cpython/issues/115103. Additionally, we need to ensure that the debug allocators do not overwrite these fields with \"dead\" bytes `0xDD`, which might make the object look \"alive\" by having a non-zero reference count.\n\nWe still would like to overwrite the rest of the allocation (i.e., from `ob_type` onwards) to detect use-after-frees in debug builds.\n\nSee also: https://peps.python.org/pep-0703/#optimistically-avoiding-locking\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-115573\n* gh-115745\n* gh-116153\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/colesbury","@type":"Person","name":"colesbury"},"datePublished":"2024-02-14T21:32:30Z","url":"https://github.com/python/cpython/issues/115491"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:714e2af5-547e-b8e9-9290-be375c7becc6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB19E:3A73AA:2FCAFED:3CA41AC:6B01FE00
html-safe-nonce0d74fdebfec86fa9540dc9c93e27c7bc335a84693a7f63354ce248fe4a3bc2ec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTlFOjNBNzNBQToyRkNBRkVEOjNDQTQxQUM6NkIwMUZFMDAiLCJ2aXNpdG9yX2lkIjoiMjYzNzMwMDMzMDMyNDQyNjI0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacab3b63b1a943fab07c470a326770f7a6fc776d5783ce65fdc687d8ba2575a27d
hovercard-subject-tagissue:2135238867
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/115491/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5340bfbabd50c8e364bb2223a75f0b16295b7d34dbe94213c81a4e93c41e4463/python/cpython/issues/115491
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5340bfbabd50c8e364bb2223a75f0b16295b7d34dbe94213c81a4e93c41e4463/python/cpython/issues/115491
og:image:altFeature or enhancement The free-threaded implementation of dict and list try avoid acquiring locks during read operations. To support this, we need to be able to access the reference count fields o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecolesbury
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/115491#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F115491
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%2Fissues%2F115491
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/115491
Reloadhttps://github.com/python/cpython/issues/115491
Reloadhttps://github.com/python/cpython/issues/115491
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
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/115491
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/115491
Keep ob_tid, ob_ref_local, and ob_ref_shared fields valid across allocations in free-threaded buildhttps://github.com/python/cpython/issues/115491#top
https://github.com/colesbury
topic-free-threadinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-free-threading%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com/colesbury
colesburyhttps://github.com/colesbury
on Feb 14, 2024https://github.com/python/cpython/issues/115491#issue-2135238867
#115103https://github.com/python/cpython/issues/115103
https://peps.python.org/pep-0703/#optimistically-avoiding-lockinghttps://peps.python.org/pep-0703/#optimistically-avoiding-locking
gh-115491: Keep some fields valid across allocations (free-threading) #115573https://github.com/python/cpython/pull/115573
gh-115491: Keep some fields valid across allocations in obmalloc (free-threading) #115745https://github.com/python/cpython/pull/115745
gh-115491: Fix Clang compiler warning #116153https://github.com/python/cpython/pull/116153
colesburyhttps://github.com/colesbury
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
topic-free-threadinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-free-threading%22
on Feb 14, 2024https://github.com/python/cpython/issues/115491#event-11807245098
colesburyhttps://github.com/colesbury
on Feb 15, 2024https://github.com/python/cpython/issues/115491#event-11818767940
colesburyhttps://github.com/colesbury
on Feb 16, 2024https://github.com/python/cpython/issues/115491#event-11833656781
pythongh-115491: Keep some fields valid across allocations (free-thre…https://github.com/colesbury/cpython/commit/58a2d1ffbe8cb9caca9f148141f957ea59c28759
pythongh-115491https://github.com/python/cpython/issues/115491
58a2d1fhttps://github.com/colesbury/cpython/commit/58a2d1ffbe8cb9caca9f148141f957ea59c28759
pythongh-115491: Keep some fields valid across allocations in obmallo…https://github.com/colesbury/cpython/commit/20c0c81f388bb679c983b27f34204f6602def14f
pythongh-115491https://github.com/python/cpython/issues/115491
20c0c81https://github.com/colesbury/cpython/commit/20c0c81f388bb679c983b27f34204f6602def14f
gh-115491: Keep some fields valid across allocations (free-threading) (…https://github.com/python/cpython/commit/cc82e33af978df793b83cefe4e25e07223a3a09e
gh-115491https://github.com/python/cpython/issues/115491
…https://github.com/python/cpython/pull/115573
cc82e33https://github.com/python/cpython/commit/cc82e33af978df793b83cefe4e25e07223a3a09e
pythongh-115491: Keep some fields valid across allocations in obmallo…https://github.com/colesbury/cpython/commit/85b36479c84700be074cf9a0330ac0b315abfeb6
pythongh-115491https://github.com/python/cpython/issues/115491
85b3647https://github.com/colesbury/cpython/commit/85b36479c84700be074cf9a0330ac0b315abfeb6
DinoVhttps://github.com/DinoV
on Feb 21, 2024https://github.com/python/cpython/issues/115491#event-11880155659
gh-115491: Keep some fields valid across allocations in obmalloc (fre…https://github.com/python/cpython/commit/347acded845d07b70232cade8d576b6f0aaeb473
gh-115491https://github.com/python/cpython/issues/115491
347acdehttps://github.com/python/cpython/commit/347acded845d07b70232cade8d576b6f0aaeb473
https://github.com/colesbury
colesburyhttps://github.com/colesbury
on Feb 21, 2024https://github.com/python/cpython/issues/115491#issuecomment-1957624655
#115103https://github.com/python/cpython/issues/115103
colesburyhttps://github.com/colesbury
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 21, 2024https://github.com/python/cpython/issues/115491#event-11880438102
colesburyhttps://github.com/colesbury
on Feb 29, 2024https://github.com/python/cpython/issues/115491#event-11971437880
pythongh-115491: Fix compiler warning on macOShttps://github.com/colesbury/cpython/commit/36a959e6c6de98da8ca1bdc7a1d8dc3e339ec2a3
pythongh-115491https://github.com/python/cpython/issues/115491
36a959ehttps://github.com/colesbury/cpython/commit/36a959e6c6de98da8ca1bdc7a1d8dc3e339ec2a3
DinoVhttps://github.com/DinoV
on Mar 1, 2024https://github.com/python/cpython/issues/115491#event-11972774928
gh-115491: Fix Clang compiler warning (#116153)https://github.com/python/cpython/commit/d7ddd90308324340855ddb9cc8dda2c1ee3a5944
gh-115491https://github.com/python/cpython/issues/115491
#116153https://github.com/python/cpython/pull/116153
d7ddd90https://github.com/python/cpython/commit/d7ddd90308324340855ddb9cc8dda2c1ee3a5944
woodruffwhttps://github.com/woodruffw
on Mar 4, 2024https://github.com/python/cpython/issues/115491#event-12003551138
pythongh-115491: Keep some fields valid across allocations (free-thre…https://github.com/woodruffw-forks/cpython/commit/be2dcd05ffbdbf47c53e8e72a0961a7d3454a252
pythongh-115491https://github.com/python/cpython/issues/115491
be2dcd0https://github.com/woodruffw-forks/cpython/commit/be2dcd05ffbdbf47c53e8e72a0961a7d3454a252
pythongh-115491: Keep some fields valid across allocations in obmallo…https://github.com/woodruffw-forks/cpython/commit/041aa452cfa7e4311081d062d6c1e48b74f793d6
pythongh-115491https://github.com/python/cpython/issues/115491
041aa45https://github.com/woodruffw-forks/cpython/commit/041aa452cfa7e4311081d062d6c1e48b74f793d6
pythongh-115491: Fix Clang compiler warning (python#116153)https://github.com/woodruffw-forks/cpython/commit/625d5307fb19fa86991d2ef74fb22b505bb06e35
pythongh-115491https://github.com/python/cpython/issues/115491
python#116153https://github.com/python/cpython/pull/116153
625d530https://github.com/woodruffw-forks/cpython/commit/625d5307fb19fa86991d2ef74fb22b505bb06e35
adorilsonhttps://github.com/adorilson
on Mar 25, 2024https://github.com/python/cpython/issues/115491#event-12236049781
pythongh-115491: Fix Clang compiler warning (python#116153)https://github.com/adorilson/cpython/commit/18be625ed26611896d0a2d836aff5e3c462c53c6
pythongh-115491https://github.com/python/cpython/issues/115491
python#116153https://github.com/python/cpython/pull/116153
18be625https://github.com/adorilson/cpython/commit/18be625ed26611896d0a2d836aff5e3c462c53c6
diegorussohttps://github.com/diegorusso
on Apr 17, 2024https://github.com/python/cpython/issues/115491#event-12505732643
pythongh-115491: Keep some fields valid across allocations (free-thre…https://github.com/diegorusso/cpython/commit/de74b97fe59b999d7c3fecbe3afb7a6a23ef16b4
pythongh-115491https://github.com/python/cpython/issues/115491
de74b97https://github.com/diegorusso/cpython/commit/de74b97fe59b999d7c3fecbe3afb7a6a23ef16b4
pythongh-115491: Keep some fields valid across allocations in obmallo…https://github.com/diegorusso/cpython/commit/6e942bdc7eb47545cb11a8272ea2712bacc66624
pythongh-115491https://github.com/python/cpython/issues/115491
6e942bdhttps://github.com/diegorusso/cpython/commit/6e942bdc7eb47545cb11a8272ea2712bacc66624
pythongh-115491: Fix Clang compiler warning (python#116153)https://github.com/diegorusso/cpython/commit/b1dd0bbbb4988e8ab8c5d7c65e22285cb937991d
pythongh-115491https://github.com/python/cpython/issues/115491
python#116153https://github.com/python/cpython/pull/116153
b1dd0bbhttps://github.com/diegorusso/cpython/commit/b1dd0bbbb4988e8ab8c5d7c65e22285cb937991d
LukasWoodtlihttps://github.com/LukasWoodtli
on Jan 22, 2025https://github.com/python/cpython/issues/115491#event-16034178999
pythongh-115491: Keep some fields valid across allocations (free-thre…https://github.com/LukasWoodtli/cpython/commit/0bb51fde8c2389301190608488a6a0ee07c5db92
pythongh-115491https://github.com/python/cpython/issues/115491
0bb51fdhttps://github.com/LukasWoodtli/cpython/commit/0bb51fde8c2389301190608488a6a0ee07c5db92
pythongh-115491: Keep some fields valid across allocations in obmallo…https://github.com/LukasWoodtli/cpython/commit/9720a85e07b5fbeafebcb99c3bc3788c037a316d
pythongh-115491https://github.com/python/cpython/issues/115491
9720a85https://github.com/LukasWoodtli/cpython/commit/9720a85e07b5fbeafebcb99c3bc3788c037a316d
corona10https://github.com/corona10
on Oct 10, 2026https://github.com/python/cpython/issues/115491#event-32938772639
Re-apply CPython-specific changes to mimalloc v2.5.2https://github.com/corona10/cpython/commit/fa3a143e1246e55a659a1f2084138263f0e87ef4
fa3a143https://github.com/corona10/cpython/commit/fa3a143e1246e55a659a1f2084138263f0e87ef4
Re-apply CPython-specific changes to mimalloc v2.5.2https://github.com/corona10/cpython/commit/836dced561ffdbc89e2cd33594d20c23953786ac
836dcedhttps://github.com/corona10/cpython/commit/836dced561ffdbc89e2cd33594d20c23953786ac
corona10https://github.com/corona10
on Oct 22, 2026https://github.com/python/cpython/issues/115491#event-33902121102
gh-159111: Update vendored mimalloc to v2.5.2 (gh-159112)https://github.com/python/cpython/commit/aff7a2e23bd6ed68fa15c1ceda94a2fdd7f8cf7f
gh-159111https://github.com/python/cpython/issues/159111
gh-159112https://github.com/python/cpython/pull/159112
aff7a2ehttps://github.com/python/cpython/commit/aff7a2e23bd6ed68fa15c1ceda94a2fdd7f8cf7f
[3.15] pythongh-159111: Update vendored mimalloc to v2.5.2 (pythongh-…https://github.com/corona10/cpython/commit/265f0fb3011cf87cb659135452ad09bc2d406e3a
pythongh-159111https://github.com/python/cpython/issues/159111
pythongh-…https://github.com/python/cpython/pull/159112
265f0fbhttps://github.com/corona10/cpython/commit/265f0fb3011cf87cb659135452ad09bc2d406e3a
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/115491
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/115491
colesburyhttps://github.com/colesbury
topic-free-threadinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-free-threading%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
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.