We should be jumping only to *live* objects when we compress the heap, rather then traversing the whole heap when we compact.
Doesn't behave like this anymore. Just traverses live objects and marks them for moving in a heap that will be collected. No exra work done now.
Log in to post a comment.
Doesn't behave like this anymore. Just traverses live objects and marks them for moving in a heap that will be collected. No exra work done now.