GH-117108: Change the size of the GC increment to about 1% of the total heap size. (GH-117120)

This commit is contained in:
Mark Shannon 2024-03-22 18:43:25 +00:00 committed by GitHub
parent e2e0b4b4b9
commit e28477f214
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 47 additions and 28 deletions

View file

@ -326,7 +326,7 @@ gc_get_objects_impl(PyObject *module, Py_ssize_t generation)
}
PyInterpreterState *interp = _PyInterpreterState_GET();
return _PyGC_GetObjects(interp, generation);
return _PyGC_GetObjects(interp, (int)generation);
}
/*[clinic input]