4 ms·
You can still compact with a conservative scanner, you just have to accommodate pinned regions.
by sfink 2y ago
You can still compact with a conservative scanner, you just have to accommodate pinned regions.
- themk 2y agoHow 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.