Re:Treadmill garbage collector by H. Baker
by oecumena on Tuesday July 26, 2022 @11:09AM
(#32239416)
If there are no pointers from "old" to "new" objects, then there are no cycles and (compiler-assisted) reference counting will handle it.
Re:Treadmill garbage collector by H. Baker
by Joker_vD on Tuesday July 26, 2022 @10:57AM
(#32239218)
Cheney's copying collector? You're gonna have huge garbage-to-live ratio with immutable objects, and this algorithm is pretty amazing for such scenarios.
Re:Treadmill garbage collector by H. Baker
by CyberDildonics on Tuesday July 26, 2022 @10:45AM
(#32239015)
Why would you garbage collect something that is going to change in the first place? By definition there isn't a way to reach it any more.
No old objects containing pointers to new objects and no mutation while scanning hazards.