René's URL Explorer Experiment


Title: GH-136410: Faster side exits by markshannon · Pull Request #136411 · python/cpython · GitHub

Open Graph Title: GH-136410: Faster side exits by markshannon · Pull Request #136411 · python/cpython

X Title: GH-136410: Faster side exits by markshannon · Pull Request #136411 · python/cpython

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

Open Graph Description: This PR reinstates the _COLD_EXIT uop, but this time expects the exit to be passed, not the executor. This way we only need one jitted stub, not hundreds. Using stubs hugely simplifies _EXIT_TRACE ...

X Description: This PR reinstates the _COLD_EXIT uop, but this time expects the exit to be passed, not the executor. This way we only need one jitted stub, not hundreds. Using stubs hugely simplifies _EXIT_TRACE ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:8536af94-5cd3-d81f-8e57-b290ef7db90d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCCC4:75242:E4996:12C970:6A55721D
html-safe-nonce2cc764c509e0d60d471c911a068b00df2035808255b49c3bc61828294075f66d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0M0Ojc1MjQyOkU0OTk2OjEyQzk3MDo2QTU1NzIxRCIsInZpc2l0b3JfaWQiOiIyMjg5OTIwOTQwMTY2MTgxNDA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9178ccf855a2f5f79e8ec7e32a619aaad3993f8f6a3799940e6034239a87a803
hovercard-subject-tagpull_request:2649248623
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/136411/commits
twitter:imagehttps://opengraph.githubassets.com/ab17784c99e32324fe09be0ad50e18b8bdbb31e7e3c356ab8c6313f78f457c21/python/cpython/pull/136411
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ab17784c99e32324fe09be0ad50e18b8bdbb31e7e3c356ab8c6313f78f457c21/python/cpython/pull/136411
og:image:altThis PR reinstates the _COLD_EXIT uop, but this time expects the exit to be passed, not the executor. This way we only need one jitted stub, not hundreds. Using stubs hugely simplifies _EXIT_TRACE ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
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
releasea90bd2a4a25feb75544d06b89350dcf95d9c46e0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/136411/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F136411%2Fcommits
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%2F136411%2Fcommits
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/136411/commits
Reloadhttps://github.com/python/cpython/pull/136411/commits
Reloadhttps://github.com/python/cpython/pull/136411/commits
Please reload this pagehttps://github.com/python/cpython/pull/136411/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/136411/commits
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
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:fast-side-exitshttps://github.com/faster-cpython/cpython/tree/fast-side-exits
Conversationhttps://github.com/python/cpython/pull/136411
Commits15 (15)https://github.com/python/cpython/pull/136411/commits
Checkshttps://github.com/python/cpython/pull/136411/checks
Files changedhttps://github.com/python/cpython/pull/136411/files
GH-136410: Faster side exitshttps://github.com/python/cpython/pull/136411/commits#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:fast-side-exitshttps://github.com/faster-cpython/cpython/tree/fast-side-exits
Faster side exits.https://github.com/python/cpython/pull/136411/commits/a2817753a9d4a5bfc8873d60a72309efa731cb4a
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
a281775https://github.com/python/cpython/pull/136411/commits/a2817753a9d4a5bfc8873d60a72309efa731cb4a
https://github.com/python/cpython/tree/a2817753a9d4a5bfc8873d60a72309efa731cb4a
Fix copy-and-paste errorhttps://github.com/python/cpython/pull/136411/commits/ec7f0e27b9f563d6c71c73932d686986492dfb17
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
ec7f0e2https://github.com/python/cpython/pull/136411/commits/ec7f0e27b9f563d6c71c73932d686986492dfb17
https://github.com/python/cpython/tree/ec7f0e27b9f563d6c71c73932d686986492dfb17
Check validity at start of tracehttps://github.com/python/cpython/pull/136411/commits/911520a2135b08903fac1ec1ae897aa925eacf43
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
911520ahttps://github.com/python/cpython/pull/136411/commits/911520a2135b08903fac1ec1ae897aa925eacf43
https://github.com/python/cpython/tree/911520a2135b08903fac1ec1ae897aa925eacf43
Tidy uphttps://github.com/python/cpython/pull/136411/commits/73832b244e3f634a4a2589908d53d50305fcb1fc
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
73832b2https://github.com/python/cpython/pull/136411/commits/73832b244e3f634a4a2589908d53d50305fcb1fc
https://github.com/python/cpython/tree/73832b244e3f634a4a2589908d53d50305fcb1fc
Null test before usehttps://github.com/python/cpython/pull/136411/commits/a9297a0ea0482c1fd27c1de377038c2c13740723
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
a9297a0https://github.com/python/cpython/pull/136411/commits/a9297a0ea0482c1fd27c1de377038c2c13740723
https://github.com/python/cpython/tree/a9297a0ea0482c1fd27c1de377038c2c13740723
Update assertshttps://github.com/python/cpython/pull/136411/commits/47b53d1063036123f3cf072eaeb3f29c9e1086ca
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
47b53d1https://github.com/python/cpython/pull/136411/commits/47b53d1063036123f3cf072eaeb3f29c9e1086ca
https://github.com/python/cpython/tree/47b53d1063036123f3cf072eaeb3f29c9e1086ca
Properly fix asserthttps://github.com/python/cpython/pull/136411/commits/2564d418b5aed4ff2023870a889a3ba9fb28346e
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
2564d41https://github.com/python/cpython/pull/136411/commits/2564d418b5aed4ff2023870a889a3ba9fb28346e
https://github.com/python/cpython/tree/2564d418b5aed4ff2023870a889a3ba9fb28346e
Don't make object immortal until it is fully initializedhttps://github.com/python/cpython/pull/136411/commits/779bd7d9048a1f81b61f271bd66ac99ce17b1147
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
779bd7dhttps://github.com/python/cpython/pull/136411/commits/779bd7d9048a1f81b61f271bd66ac99ce17b1147
https://github.com/python/cpython/tree/779bd7d9048a1f81b61f271bd66ac99ce17b1147
Merge branch 'main' into fast-side-exitshttps://github.com/python/cpython/pull/136411/commits/db336ce8bf97d6a75652a30c2874d8095349749a
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
db336cehttps://github.com/python/cpython/pull/136411/commits/db336ce8bf97d6a75652a30c2874d8095349749a
https://github.com/python/cpython/tree/db336ce8bf97d6a75652a30c2874d8095349749a
Free cold executor when closing of interpreterhttps://github.com/python/cpython/pull/136411/commits/0b05acfd311bda5007c6920c1ad0fbbafc8f1fd8
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
0b05acfhttps://github.com/python/cpython/pull/136411/commits/0b05acfd311bda5007c6920c1ad0fbbafc8f1fd8
https://github.com/python/cpython/tree/0b05acfd311bda5007c6920c1ad0fbbafc8f1fd8
Add NULL checkhttps://github.com/python/cpython/pull/136411/commits/142bab65f6167361e98c431728ee4edaaa6bf1aa
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
142bab6https://github.com/python/cpython/pull/136411/commits/142bab65f6167361e98c431728ee4edaaa6bf1aa
https://github.com/python/cpython/tree/142bab65f6167361e98c431728ee4edaaa6bf1aa
Free cold executor after final GChttps://github.com/python/cpython/pull/136411/commits/af696ea11f4dee55898806e8d3b13f76596c4ac3
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
af696eahttps://github.com/python/cpython/pull/136411/commits/af696ea11f4dee55898806e8d3b13f76596c4ac3
https://github.com/python/cpython/tree/af696ea11f4dee55898806e8d3b13f76596c4ac3
Add empty _PyExecutor_Free for non-jit buildshttps://github.com/python/cpython/pull/136411/commits/264559ab2f35d05965d5ddeb85cea07127d3a7b0
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
264559ahttps://github.com/python/cpython/pull/136411/commits/264559ab2f35d05965d5ddeb85cea07127d3a7b0
https://github.com/python/cpython/tree/264559ab2f35d05965d5ddeb85cea07127d3a7b0
Clear exit if START_EXECUTOR detects that the executor is invalidhttps://github.com/python/cpython/pull/136411/commits/989a882896e9798e453e2aff0d0464d2bbef2332
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
989a882https://github.com/python/cpython/pull/136411/commits/989a882896e9798e453e2aff0d0464d2bbef2332
https://github.com/python/cpython/tree/989a882896e9798e453e2aff0d0464d2bbef2332
Add some assertshttps://github.com/python/cpython/pull/136411/commits/656ada0fe6ade6b6c288f7a3d5262b89dea0f314
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
656ada0https://github.com/python/cpython/pull/136411/commits/656ada0fe6ade6b6c288f7a3d5262b89dea0f314
https://github.com/python/cpython/tree/656ada0fe6ade6b6c288f7a3d5262b89dea0f314
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.