3 ms·
Not sure it deserves to be called garbage collector, too simple. The approach is pretty close to arena allocation https://en.wikipedia.org/wiki/Region-based_me
by Const-me 5y ago
Not sure it deserves to be called garbage collector, too simple.
The approach is pretty close to arena allocation https://en.wikipedia.org/wiki/Region-based_memory_management#Implementation https://en.wikipedia.org/wiki/Region-based_memory_management... The only twist, with modern 64-bit processors there’s no need for linked lists or multiple blocks, can instead add new physical pages into pre-allocated address space.