Lines Matching refs:finalizers
677 move_legacy_finalizers(PyGC_Head *unreachable, PyGC_Head *finalizers) in move_legacy_finalizers() argument
694 gc_list_move(gc, finalizers); in move_legacy_finalizers()
733 move_legacy_finalizer_reachable(PyGC_Head *finalizers) in move_legacy_finalizer_reachable() argument
736 PyGC_Head *gc = GC_NEXT(finalizers); in move_legacy_finalizer_reachable()
737 for (; gc != finalizers; gc = GC_NEXT(gc)) { in move_legacy_finalizer_reachable()
742 (void *)finalizers); in move_legacy_finalizer_reachable()
934 PyGC_Head *finalizers, PyGC_Head *old) in handle_legacy_finalizers() argument
939 PyGC_Head *gc = GC_NEXT(finalizers); in handle_legacy_finalizers()
940 for (; gc != finalizers; gc = GC_NEXT(gc)) { in handle_legacy_finalizers()
951 gc_list_merge(finalizers, old); in handle_legacy_finalizers()
1193 PyGC_Head finalizers; /* objects with, & reachable from, __del__ */ in gc_collect_main() local
1260 gc_list_init(&finalizers); in gc_collect_main()
1263 move_legacy_finalizers(&unreachable, &finalizers); in gc_collect_main()
1268 move_legacy_finalizer_reachable(&finalizers); in gc_collect_main()
1270 validate_list(&finalizers, collecting_clear_unreachable_clear); in gc_collect_main()
1304 for (gc = GC_NEXT(&finalizers); gc != &finalizers; gc = GC_NEXT(gc)) { in gc_collect_main()
1320 handle_legacy_finalizers(tstate, gcstate, &finalizers, old); in gc_collect_main()