René's URL Explorer Experiment


Title: GH-137959: Replace shim code in jitted code with a single trampoline function. by markshannon · Pull Request #137961 · python/cpython · GitHub

Open Graph Title: GH-137959: Replace shim code in jitted code with a single trampoline function. by markshannon · Pull Request #137961 · python/cpython

X Title: GH-137959: Replace shim code in jitted code with a single trampoline function. by markshannon · Pull Request #137961 · python/cpython

Description: Issue: Call JIT code from the interpreter via a trampoline function, instead of inserting shim code in the jitted code #137959

Open Graph Description: Issue: Call JIT code from the interpreter via a trampoline function, instead of inserting shim code in the jitted code #137959

X Description: Issue: Call JIT code from the interpreter via a trampoline function, instead of inserting shim code in the jitted code #137959

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

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:f5256fcb-5c9a-1ef0-3831-bb4292c8313f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC978:2265AE:2BD7886:3B02804:696AEE0A
html-safe-nonceeb83c3221c1d4f7dab07a8a1dfc11dc340572bb8ba3d68e015f2d1f62d092807
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTc4OjIyNjVBRToyQkQ3ODg2OjNCMDI4MDQ6Njk2QUVFMEEiLCJ2aXNpdG9yX2lkIjoiMjczMjAyMzIwMTE5NjA3NjU1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2a97004117a683c8d9cd59d7527894cdd85bad162605f577a5a39819a3f32278
hovercard-subject-tagpull_request:2756792095
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/137961/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3daa36c503bfe287fc59f00e8cea954314d15beb12e65989a02d1dacbc585996/python/cpython/pull/137961
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3daa36c503bfe287fc59f00e8cea954314d15beb12e65989a02d1dacbc585996/python/cpython/pull/137961
og:image:altIssue: Call JIT code from the interpreter via a trampoline function, instead of inserting shim code in the jitted code #137959
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/137961#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F137961
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%2F137961
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/137961
Reloadhttps://github.com/python/cpython/pull/137961
Reloadhttps://github.com/python/cpython/pull/137961
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/137961
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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/137961
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/137961#issue-comment-box
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:jit-trampolinehttps://github.com/faster-cpython/cpython/tree/jit-trampoline
GH-137959: Replace shim code in jitted code with a single trampoline function. https://github.com/python/cpython/pull/137961#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:jit-trampolinehttps://github.com/faster-cpython/cpython/tree/jit-trampoline
Conversation 6 https://github.com/python/cpython/pull/137961
Commits 7 https://github.com/python/cpython/pull/137961/commits
Checks 71 https://github.com/python/cpython/pull/137961/checks
Files changed https://github.com/python/cpython/pull/137961/files
Please reload this pagehttps://github.com/python/cpython/pull/137961
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Aug 19, 2025https://github.com/python/cpython/pull/137961#issue-3334734229
Please reload this pagehttps://github.com/python/cpython/pull/137961
Call JIT code from the interpreter via a trampoline function, instead of inserting shim code in the jitted code #137959https://github.com/python/cpython/issues/137959
Please reload this pagehttps://github.com/python/cpython/pull/137961
markshannonhttps://github.com/markshannon
August 19, 2025 15:19https://github.com/python/cpython/pull/137961#commits-pushed-0dd2c49
https://github.com/markshannon
JIT compile a trampoline function to avoid shim codehttps://github.com/python/cpython/pull/137961/commits/0dd2c49730609e0be6a265cb681b34c80f65316f
0dd2c49https://github.com/python/cpython/pull/137961/commits/0dd2c49730609e0be6a265cb681b34c80f65316f
https://github.com/markshannon
Remove old shim codehttps://github.com/python/cpython/pull/137961/commits/a98b1c8839357a90826efe0470271a9b5e5a6b7d
a98b1c8https://github.com/python/cpython/pull/137961/commits/a98b1c8839357a90826efe0470271a9b5e5a6b7d
https://github.com/markshannon
Fix whitespacehttps://github.com/python/cpython/pull/137961/commits/26b285689ef7ab3c793e705754ddf1e6acd9e847
26b2856https://github.com/python/cpython/pull/137961/commits/26b285689ef7ab3c793e705754ddf1e6acd9e847
https://github.com/markshannon
Add trampoline sourcehttps://github.com/python/cpython/pull/137961/commits/5b6334ead72b227c8ba2de849b63964ca12d23ba
5b6334ehttps://github.com/python/cpython/pull/137961/commits/5b6334ead72b227c8ba2de849b63964ca12d23ba
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 19, 2025 https://github.com/python/cpython/pull/137961#ref-issue-3334709878
Call JIT code from the interpreter via a trampoline function, instead of inserting shim code in the jitted code #137959 https://github.com/python/cpython/issues/137959
https://github.com/markshannon
Add newshttps://github.com/python/cpython/pull/137961/commits/14080cbb186c89f6b9779fab25806cc0648d628c
14080cbhttps://github.com/python/cpython/pull/137961/commits/14080cbb186c89f6b9779fab25806cc0648d628c
https://github.com/markshannon
markshannonhttps://github.com/markshannon
brandtbucherhttps://github.com/brandtbucher
August 19, 2025 15:09https://github.com/python/cpython/pull/137961#event-19226994314
https://github.com/markshannon
Remove redundant codehttps://github.com/python/cpython/pull/137961/commits/ca9663a9670fb8be0962ba7def3e363e7531dbfb
ca9663ahttps://github.com/python/cpython/pull/137961/commits/ca9663a9670fb8be0962ba7def3e363e7531dbfb
https://github.com/markshannon
markshannonhttps://github.com/markshannon
August 19, 2025 16:24https://github.com/python/cpython/pull/137961#event-19228340238
https://github.com/markshannon
markshannonhttps://github.com/markshannon
ZeroIntensityhttps://github.com/ZeroIntensity
diegorussohttps://github.com/diegorusso
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
savannahostrowskihttps://github.com/savannahostrowski
code ownershttps://github.com/python/cpython/blob/e39255e76d4b6755a44f6d4e63180136c778d2a5/.github/CODEOWNERS#L80
August 19, 2025 16:24https://github.com/python/cpython/pull/137961#event-19228340442
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
Aug 19, 2025https://github.com/python/cpython/pull/137961#event-19228341101
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Aug 20, 2025https://github.com/python/cpython/pull/137961#issuecomment-3205065832
Benchmark resultshttps://github.com/faster-cpython/benchmarking-public/tree/main/results/bm-20250819-3.15.0a0-14080cb-JIT
Please reload this pagehttps://github.com/python/cpython/pull/137961
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Aug 20, 2025 https://github.com/python/cpython/pull/137961#pullrequestreview-3136990543
View reviewed changes https://github.com/python/cpython/pull/137961/files/14080cbb186c89f6b9779fab25806cc0648d628c
Fidget-Spinnerhttps://github.com/Fidget-Spinner
https://github.com/python/cpython/pull/137961#pullrequestreview-3136990543
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/137961
Python/jit.chttps://github.com/python/cpython/pull/137961/files/14080cbb186c89f6b9779fab25806cc0648d628c#diff-d62eca10c65b7e30ce4e711d63b1e6c921c8b90bd4fb08c672d0806025e6d5e0
Please reload this pagehttps://github.com/python/cpython/pull/137961
Python/jit.chttps://github.com/python/cpython/pull/137961/files/14080cbb186c89f6b9779fab25806cc0648d628c#diff-d62eca10c65b7e30ce4e711d63b1e6c921c8b90bd4fb08c672d0806025e6d5e0
Please reload this pagehttps://github.com/python/cpython/pull/137961
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
Aug 20, 2025https://github.com/python/cpython/pull/137961#event-19247770529
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Aug 21, 2025https://github.com/python/cpython/pull/137961#issuecomment-3209590462
Please reload this pagehttps://github.com/python/cpython/pull/137961
https://github.com/markshannon
Add clarifying commenthttps://github.com/python/cpython/pull/137961/commits/f9279af73c93cbeaa8296d0dbdd76d8d96c96d99
f9279afhttps://github.com/python/cpython/pull/137961/commits/f9279af73c93cbeaa8296d0dbdd76d8d96c96d99
https://github.com/markshannon
markshannonhttps://github.com/markshannon
a8d9d94https://github.com/python/cpython/commit/a8d9d947843200a09c154f3bc55f4e87e35edab3
Aug 21, 2025https://github.com/python/cpython/pull/137961#event-19262531145
Please reload this pagehttps://github.com/python/cpython/pull/137961
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
Aug 21, 2025https://github.com/python/cpython/pull/137961#event-19262532063
https://github.com/brandtbucher
brandtbucherhttps://github.com/brandtbucher
Aug 21, 2025https://github.com/python/cpython/pull/137961#issuecomment-3211482895
Please reload this pagehttps://github.com/python/cpython/pull/137961
GH-137959: fix warning 'visibility' attribute ignored in jit/trampoline.c #140286 https://github.com/python/cpython/pull/140286
JIT: Fix compiler warning from visibility attribute in typedef #139981 https://github.com/python/cpython/pull/139981
gh-137959: Fix TIER1_TO_TIER2 macro name in JIT InternalDocs #141496 https://github.com/python/cpython/pull/141496
[3.14] gh-140104: Set next_instr properly in the JIT during exceptions (GH-140233) #141495 https://github.com/python/cpython/pull/141495
JIT: Rename trampoline.c to shim.c #142974 https://github.com/python/cpython/pull/142974
JIT: don't leak shim memory when shutting down the interpreter #142984 https://github.com/python/cpython/pull/142984
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%2F137961
https://github.com/Fidget-Spinner
Fidget-Spinner https://github.com/Fidget-Spinner
https://github.com/python/cpython/pull/137961/files/14080cbb186c89f6b9779fab25806cc0648d628c
https://github.com/brandtbucher
brandtbucher https://github.com/brandtbucher
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
https://github.com/savannahostrowski
savannahostrowski https://github.com/savannahostrowski
https://github.com/diegorusso
diegorusso https://github.com/diegorusso
Please reload this pagehttps://github.com/python/cpython/pull/137961
https://github.com/markshannon
https://github.com/brandtbucher
https://github.com/Fidget-Spinner
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.