|
|
|
|
|
by plorkyeran
4049 days ago
|
|
Compacting garbage collectors don't have fragmentation issues, but of course Go doesn't have one. A GC isn't even strictly a prerequisite for compaction. Manually combining memory allocations to reduce allocator overhead and fragmentation is a lot of work, but not unheard of. |
|
In modern OSes, virtual memory plays an analogous role. We still have a double indirection, but it goes through the TLB and page table.