File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1394,7 +1394,6 @@ visit_add_to_container(PyObject *op, void *arg)
1394
1394
static uintptr_t
1395
1395
expand_region_transitively_reachable (PyGC_Head * container , PyGC_Head * gc , GCState * gcstate )
1396
1396
{
1397
- validate_list (container , collecting_clear_unreachable_clear );
1398
1397
struct container_and_flag arg = {
1399
1398
.container = container ,
1400
1399
.visited_space = gcstate -> visited_space ,
@@ -1468,6 +1467,7 @@ gc_collect_increment(PyThreadState *tstate, struct gc_collection_stats *stats)
1468
1467
gc_set_old_space (gc , gcstate -> visited_space );
1469
1468
increment_size += expand_region_transitively_reachable (& increment , gc , gcstate );
1470
1469
}
1470
+ validate_list (& increment , collecting_clear_unreachable_clear );
1471
1471
gc_list_validate_space (& increment , gcstate -> visited_space );
1472
1472
PyGC_Head survivors ;
1473
1473
gc_list_init (& survivors );
You can’t perform that action at this time.
0 commit comments