FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-117759: Update GC docs for incremental collection by markshannon · Pull Request #126695 · python/cpython · GitHub

/ cpython Public

GH-117759: Update GC docs for incremental collection - #126695

Merged
markshannon merged 5 commits into
python:mainfrom
faster-cpython:update-gc-internal-docs
Nov 14, 2024
Merged

GH-117759: Update GC docs for incremental collection#126695
markshannon merged 5 commits into
python:mainfrom
faster-cpython:update-gc-internal-docs

Conversation

markshannon commented Nov 11, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

markshannon changed the title Update GC docs GH-117759: Update GC docs for incremental collection Nov 11, 2024
bedevere-app Bot mentioned this pull request Nov 11, 2024
3 tasks
markshannon marked this pull request as ready for review November 11, 2024 18:24
Comment thread InternalDocs/garbage_collector.md Outdated
Co-authored-by: Daniel Hollas <danekhollas@gmail.com>
Comment thread InternalDocs/garbage_collector.md Outdated
Comment thread InternalDocs/garbage_collector.md Outdated
Comment thread InternalDocs/garbage_collector.md Outdated
Comment thread InternalDocs/garbage_collector.md Outdated
Comment thread InternalDocs/garbage_collector.md Outdated
Comment thread InternalDocs/garbage_collector.md Outdated
Comment thread InternalDocs/garbage_collector.md Outdated
Comment thread InternalDocs/garbage_collector.md Outdated
generations. The main idea behind this concept is the assumption that most
objects have a very short lifespan and can thus be collected soon after their
creation. This has proven to be very close to the reality of many Python
In order to limit the time each garbage collection takes, the GC implementation

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
In order to limit the time each garbage collection takes, the GC implementation
In order to bound the length of each garbage collection pause, the GC implementation

Comment thread InternalDocs/garbage_collector.md Outdated
Comment thread InternalDocs/garbage_collector.md Outdated
Comment thread InternalDocs/garbage_collector.md Outdated
Comment on lines +369 to +370
The time taken to scan the young generation can be controlled by controlling the
size of the young, but the size of the old generation cannot be controlled.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
The time taken to scan the young generation can be controlled by controlling the
size of the young, but the size of the old generation cannot be controlled.
The time taken to scan the young generation can be controlled by controlling its
size, but the size of the old generation cannot be controlled.

Comment thread InternalDocs/garbage_collector.md Outdated
Each full scavenge is performed in a series of increments.
For each full scavenge, the combined increments will cover the whole heap.

For each increment, the portion of the heap scanned by a single collection is

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

what does "by a single collection" mean here?

markshannon merged commit 3966d8d into python:main Nov 14, 2024
markshannon deleted the update-gc-internal-docs branch November 18, 2024 14:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL