Title: gh-148937: revert process RSS based GC deferral by nascheme · Pull Request #149475 · python/cpython · GitHub
Open Graph Title: gh-148937: revert process RSS based GC deferral by nascheme · Pull Request #149475 · python/cpython
X Title: gh-148937: revert process RSS based GC deferral by nascheme · Pull Request #149475 · python/cpython
Description: Revert the process size based deferral of garbage collection (GH-133464). The performance issue this change resolves is also fixed by GH-142562. This approach has the problem that process size as seen by the OS (e.g. the resident size or RSS) does not immediately decrease after cyclic garbage is freed since mimalloc defers returning memory of the OS. This change applies to the free-threaded GC only. Note that if we backport this to 3.14 or 3.15 (which is probably a good idea), we should add dummy members to the _gc_runtime_state struct to preserve offsets of other members. Issue: gh-148937
Open Graph Description: Revert the process size based deferral of garbage collection (GH-133464). The performance issue this change resolves is also fixed by GH-142562. This approach has the problem that process size as ...
X Description: Revert the process size based deferral of garbage collection (GH-133464). The performance issue this change resolves is also fixed by GH-142562. This approach has the problem that process size as ...
Opengraph URL: https://github.com/python/cpython/pull/149475
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:48272da4-3b56-7154-2b9a-bed028cbe248 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A418:1ECA58:1976A6:21DF25:6A52861A |
| html-safe-nonce | c2cf9da1d27c9927cd6d2726f2e04e0f010b6b4e9d1f60bf5986b2b06dbaae47 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDE4OjFFQ0E1ODoxOTc2QTY6MjFERjI1OjZBNTI4NjFBIiwidmlzaXRvcl9pZCI6IjE0NDA0NjExMDE0NzcyOTk3MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 14abffbc6b3ecfa9ba074ee465e407d4a6219114ea30638acca9c1739067e518 |
| hovercard-subject-tag | pull_request:3639841509 |
| 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/149475/files |
| twitter:image | https://avatars.githubusercontent.com/u/690853?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/690853?s=400&v=4 |
| og:image:alt | Revert the process size based deferral of garbage collection (GH-133464). The performance issue this change resolves is also fixed by GH-142562. This approach has the problem that process size as ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width