Message366422
> But if said objects (isolated and untracked before and now tracked) acquire strong references to immortal objects, those objects will be visited when the gc starts calculating the isolated cycles and that requires a balanced reference count to work.
I was thinking about this a bit more and because the refcount bit is too high, the GC algorithm will be "fine" in the sense that won't break. It will just treat immortal objects as referenced from outside any cycle isolate (because the refcount hopefully will never reach 0), which is consistent with the fact that they are in the permanent generation. |
|
Date |
User |
Action |
Args |
2020-04-14 18:26:11 | pablogsal | set | recipients:
+ pablogsal, tim.peters, nascheme, gregory.p.smith, pitrou, vstinner, carljm, dino.viehland, steve.dower, corona10, eelizondo, shihai1991 |
2020-04-14 18:26:11 | pablogsal | set | messageid: <1586888771.65.0.920131598667.issue40255@roundup.psfhosted.org> |
2020-04-14 18:26:11 | pablogsal | link | issue40255 messages |
2020-04-14 18:26:11 | pablogsal | create | |
|