Title: gh-115999: Refactor `LOAD_GLOBAL` specializations to avoid reloading {globals, builtins} keys by mpage · Pull Request #124953 · python/cpython · GitHub
Open Graph Title: gh-115999: Refactor `LOAD_GLOBAL` specializations to avoid reloading {globals, builtins} keys by mpage · Pull Request #124953 · python/cpython
X Title: gh-115999: Refactor `LOAD_GLOBAL` specializations to avoid reloading {globals, builtins} keys by mpage · Pull Request #124953 · python/cpython
Description: Each of the LOAD_GLOBAL specializations is implemented roughly as: Load keys version. Load cached keys version. Deopt if (1) and (2) don't match. Load keys. Load cached index into keys. Load object from (4) at offset from (5). This is not thread-safe in free-threaded builds; the keys object may be replaced in between steps (3) and (4). This change refactors the specializations to avoid reloading the keys object and instead pass the keys object from guards to be consumed by downstream uops. Issue: gh-115999
Open Graph Description: Each of the LOAD_GLOBAL specializations is implemented roughly as: Load keys version. Load cached keys version. Deopt if (1) and (2) don't match. Load keys. Load cached index into keys. Load o...
X Description: Each of the LOAD_GLOBAL specializations is implemented roughly as: Load keys version. Load cached keys version. Deopt if (1) and (2) don't match. Load keys. Load cached index into keys. Lo...
Opengraph URL: https://github.com/python/cpython/pull/124953
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bea244f9-941d-2649-f029-81a80af447ed |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A2FE:352C83:864B63:C16C09:6A5619FE |
| html-safe-nonce | 31bf389db64a647cc6ac8cbd59acd1cfd3395aba9bf6682312a1f08d9a89580a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkZFOjM1MkM4Mzo4NjRCNjM6QzE2QzA5OjZBNTYxOUZFIiwidmlzaXRvcl9pZCI6IjY3MDgxMjY3MzA2Nzc1MjQ5OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fd25c06a9d668b9bb60d555d0828702ea8643bd04828ce7f30ed5836cd5e3f1f |
| hovercard-subject-tag | pull_request:2106459854 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/124953/files |
| twitter:image | https://avatars.githubusercontent.com/u/577841?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/577841?s=400&v=4 |
| og:image:alt | Each of the LOAD_GLOBAL specializations is implemented roughly as: Load keys version. Load cached keys version. Deopt if (1) and (2) don't match. Load keys. Load cached index into keys. Load o... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f4368738fc918fecd9b3958f6b49218bbe60d4185f38e72e3954e11f1ad0213a |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b76b9cc70d30da50674184c9c66c56423fd0b93c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width