Skip to content

Commit dca67f7

Browse files
committed
pythongh-131740: Update PyUnstable_GC_VisitObjects to visit perm gen
1 parent f3e275f commit dca67f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/gc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2415,6 +2415,7 @@ PyUnstable_GC_VisitObjects(gcvisitobjects_t callback, void *arg)
24152415
goto done;
24162416
}
24172417
visit_generation(callback, arg, &gcstate->old[1]);
2418+
visit_generation(callback, arg, &gcstate->permanent_generation);
24182419
done:
24192420
gcstate->enabled = origenstate;
24202421
}

0 commit comments

Comments
 (0)