Open
Description
The current GC is both inefficient and can have very long pause times.
The efficiency can be improved by tweaking thresholds or by using fewer generations (see #100403), but that does nothing to shorten pause times.
We should use an incremental collector, it can improve efficiency and hugely reduce maximum pause times.
See #100403 for more details on the general idea and the algorithm.
Linked PRs
- GH-108362: Incremental GC implementation #108038
- GH-108362: Set old space for objects in finalizer list before adding to old space #115084
- GH-108362: Revert "GH-108362: Incremental GC implementation (GH-108038)" #115132
- GH-108362: Incremental GC implementation #116199
- GH-108362: Incremental GC implementation #116206
- gh-108362: Retarget incremental GC changes to 3.14 #125453
Metadata
Metadata
Assignees
Labels
(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)A feature request or enhancementA feature request or enhancement