Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: