diff options
author | Mark Shannon <mark@hotpy.org> | 2024-03-22 18:43:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-22 18:43:25 +0000 |
commit | e28477f214276db941e715eebc8cdfb96c1207d9 (patch) | |
tree | 3eff65768670c3f1ab82f9a6fd68f9c4684e970c /Python/gc_free_threading.c | |
parent | e2e0b4b4b92694ba894e02b4a66fd87c166ed10f (diff) | |
download | cpython-e28477f214276db941e715eebc8cdfb96c1207d9.tar.gz cpython-e28477f214276db941e715eebc8cdfb96c1207d9.zip |
GH-117108: Change the size of the GC increment to about 1% of the total heap size. (GH-117120)
Diffstat (limited to 'Python/gc_free_threading.c')
-rw-r--r-- | Python/gc_free_threading.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/gc_free_threading.c b/Python/gc_free_threading.c index 52c79c02099..69ce22a1e83 100644 --- a/Python/gc_free_threading.c +++ b/Python/gc_free_threading.c @@ -1305,7 +1305,7 @@ visit_get_objects(const mi_heap_t *heap, const mi_heap_area_t *area, } PyObject * -_PyGC_GetObjects(PyInterpreterState *interp, Py_ssize_t generation) +_PyGC_GetObjects(PyInterpreterState *interp, int generation) { PyObject *result = PyList_New(0); if (!result) { |