mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-108362: Incremental GC implementation (GH-108038)
This commit is contained in:
parent
b4ba0f73d6
commit
36518e69d7
13 changed files with 701 additions and 446 deletions
|
@ -160,12 +160,12 @@ extern PyTypeObject _PyExc_MemoryError;
|
|||
}, \
|
||||
.gc = { \
|
||||
.enabled = 1, \
|
||||
.generations = { \
|
||||
/* .head is set in _PyGC_InitState(). */ \
|
||||
{ .threshold = 700, }, \
|
||||
{ .threshold = 10, }, \
|
||||
.young = { .threshold = 2000, }, \
|
||||
.old = { \
|
||||
{ .threshold = 10, }, \
|
||||
{ .threshold = 0, }, \
|
||||
}, \
|
||||
.work_to_do = -5000, \
|
||||
}, \
|
||||
.object_state = _py_object_state_INIT(INTERP), \
|
||||
.dtoa = _dtoa_state_INIT(&(INTERP)), \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue