@@ -1229,7 +1229,6 @@ static void
12291229gc_collect_region (PyThreadState * tstate ,
12301230 PyGC_Head * from ,
12311231 PyGC_Head * to ,
1232- int untrack ,
12331232 struct gc_collection_stats * stats );
12341233
12351234static inline Py_ssize_t
@@ -1291,7 +1290,7 @@ gc_collect_young(PyThreadState *tstate,
12911290
12921291 PyGC_Head survivors ;
12931292 gc_list_init (& survivors );
1294- gc_collect_region (tstate , young , & survivors , UNTRACK_TUPLES , stats );
1293+ gc_collect_region (tstate , young , & survivors , stats );
12951294 Py_ssize_t survivor_count = 0 ;
12961295 if (gcstate -> visited_space ) {
12971296 /* objects in visited space have bit set, so we set it here */
@@ -1434,7 +1433,7 @@ gc_collect_increment(PyThreadState *tstate, struct gc_collection_stats *stats)
14341433 gc_list_validate_space (& increment , gcstate -> visited_space );
14351434 PyGC_Head survivors ;
14361435 gc_list_init (& survivors );
1437- gc_collect_region (tstate , & increment , & survivors , UNTRACK_TUPLES | UNTRACK_DICTS , stats );
1436+ gc_collect_region (tstate , & increment , & survivors , stats );
14381437 gc_list_validate_space (& survivors , gcstate -> visited_space );
14391438 gc_list_merge (& survivors , visited );
14401439 assert (gc_list_is_empty (& increment ));
@@ -1466,9 +1465,7 @@ gc_collect_full(PyThreadState *tstate,
14661465 gcstate -> young .count = 0 ;
14671466 gc_list_merge (pending , visited );
14681467
1469- gc_collect_region (tstate , visited , visited ,
1470- UNTRACK_TUPLES | UNTRACK_DICTS ,
1471- stats );
1468+ gc_collect_region (tstate , visited , visited , stats );
14721469 gcstate -> young .count = 0 ;
14731470 gcstate -> old [0 ].count = 0 ;
14741471 gcstate -> old [1 ].count = 0 ;
@@ -1485,7 +1482,6 @@ static void
14851482gc_collect_region (PyThreadState * tstate ,
14861483 PyGC_Head * from ,
14871484 PyGC_Head * to ,
1488- int untrack ,
14891485 struct gc_collection_stats * stats )
14901486{
14911487 PyGC_Head unreachable ; /* non-problematic unreachable trash */
0 commit comments