Skip to main content

Module gc_state

Module gc_state 

Source
Expand description

Garbage Collection State and Algorithm

Generational garbage collection using an intrusive doubly-linked list.

Structs§

CollectResult
Result from a single collection run
GcDebugFlags
GC debug flags (see Include/internal/pycore_gc.h)
GcGeneration
A single GC generation with intrusive linked list
GcState
Global GC state
GcStats
Statistics for a single generation (gc_generation_stats)

Functions§

gc_state
Get a reference to the GC state.