2 ms·
How do you compact with conservative GC? You can't change the pointer values because they might not be pointers right?
by themk 2y ago
How do you compact with conservative GC? You can't change the pointer values because they might not be pointers right?
- dzaima 2y agoAny object which is referenced by the stack cannot be moved, but the rest of the heap (i.e. the vast majority, assuming the stack is much smaller than the heap) still can.