Skip to content

Comment on Conservative GC can be faster than precise GCparent

Comments

How do you compact with conservative GC? You can't change the pointer values because they might not be pointers right?

Any 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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.