summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_runtime_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/internal/pycore_runtime_init.h')
-rw-r--r--Include/internal/pycore_runtime_init.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Include/internal/pycore_runtime_init.h b/Include/internal/pycore_runtime_init.h
index e6adb98..7eef9ed 100644
--- a/Include/internal/pycore_runtime_init.h
+++ b/Include/internal/pycore_runtime_init.h
@@ -228,12 +228,12 @@ extern PyTypeObject _PyExc_MemoryError;
}, \
.gc = { \
.enabled = 1, \
- .young = { .threshold = 2000, }, \
- .old = { \
+ .generations = { \
+ /* .head is set in _PyGC_InitState(). */ \
+ { .threshold = 2000, }, \
+ { .threshold = 10, }, \
{ .threshold = 10, }, \
- { .threshold = 0, }, \
}, \
- .work_to_do = -5000, \
}, \
.qsbr = { \
.wr_seq = QSBR_INITIAL, \