Skip to content

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

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

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

Conversation

@markshannon
Copy link
Member

@markshannon markshannon commented Nov 11, 2024

@markshannon markshannon changed the title Update GC docs GH-117759: Update GC docs for incremental collection Nov 11, 2024
@bedevere-app bedevere-app bot mentioned this pull request Nov 11, 2024
3 tasks
@markshannon markshannon marked this pull request as ready for review November 11, 2024 18:24
Co-authored-by: Daniel Hollas <danekhollas@gmail.com>
Copy link
Member

Choose a reason for hiding this comment

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

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 on lines 369 to 370
Copy link
Member

Choose a reason for hiding this comment

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

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.

Copy link
Member

Choose a reason for hiding this comment

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

what does "by a single collection" mean here?

@markshannon markshannon merged commit 3966d8d into python:main Nov 14, 2024
@markshannon markshannon deleted the update-gc-internal-docs branch November 18, 2024 14:36
picnixz pushed a commit to picnixz/cpython that referenced this pull request Dec 8, 2024
ebonnal pushed a commit to ebonnal/cpython that referenced this pull request Jan 12, 2025
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

Comments