Title: Compiling executors can result in excessively large amounts of machine code. · Issue #141794 · python/cpython · GitHub
Open Graph Title: Compiling executors can result in excessively large amounts of machine code. · Issue #141794 · python/cpython
X Title: Compiling executors can result in excessively large amounts of machine code. · Issue #141794 · python/cpython
Description: With the tracing front-end to the JIT we are producing longer traces than before. This should be good, but results in very large chunks of machine code. Large chunks of machine code are bad because: It takes longer and uses more memory I...
Open Graph Description: With the tracing front-end to the JIT we are producing longer traces than before. This should be good, but results in very large chunks of machine code. Large chunks of machine code are bad because...
X Description: With the tracing front-end to the JIT we are producing longer traces than before. This should be good, but results in very large chunks of machine code. Large chunks of machine code are bad because...
Opengraph URL: https://github.com/python/cpython/issues/141794
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compiling executors can result in excessively large amounts of machine code.","articleBody":"With the tracing front-end to the JIT we are producing longer traces than before.\nThis should be good, but results in very large chunks of machine code.\nLarge chunks of machine code are bad because:\n* It takes longer and uses more memory\n* It puts a lot of pressure on the icache, possibly evicting the interpreter\n* It makes handling of inline data and branches less efficient as the targets are further away.\n\nTo be clear, the problem is not the number of uops per trace, but the amount of machine code per uop.\n\nThings we can do to fix this:\n* Move code into helper functions for the larger uops\n* Move complex decref sequences for `DECREF_INPUTS()` into helper functions.\n\n(We can also do more optimizations to remove more uops, but that's a separate issue and we're doing it anyway)\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-142228\n* gh-142263\n* gh-142257\n* gh-142386\n* gh-142409\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/markshannon","@type":"Person","name":"markshannon"},"datePublished":"2025-11-20T14:58:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/141794/cpython/issues/141794"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a66fa9d5-bea4-1454-e209-138847f66656 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 953A:21A7BB:1E32C4:2784A6:696B62F5 |
| html-safe-nonce | d3bec17dd53fe79a309505e9ee58e3fe7771149013f785507581b797e25ecd4d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTNBOjIxQTdCQjoxRTMyQzQ6Mjc4NEE2OjY5NkI2MkY1IiwidmlzaXRvcl9pZCI6Ijg2OTUzNTU0MDc4NjI1NTUzODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 06b8086741d9e19115ccceaff68286f568934542ca48130a0aa81dea8c1699c6 |
| hovercard-subject-tag | issue:3647666525 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/141794/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fd090d359ac68171b4a40734d35166689a3174d0e99ea9c6e81bc3dc9661150b/python/cpython/issues/141794 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fd090d359ac68171b4a40734d35166689a3174d0e99ea9c6e81bc3dc9661150b/python/cpython/issues/141794 |
| og:image:alt | With the tracing front-end to the JIT we are producing longer traces than before. This should be good, but results in very large chunks of machine code. Large chunks of machine code are bad because... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | markshannon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width