mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
GH-117108: Change the size of the GC increment to about 1% of the total heap size. (GH-117120)
This commit is contained in:
parent
e2e0b4b4b9
commit
e28477f214
6 changed files with 47 additions and 28 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue