This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Divide heap into two spaces; copy live objects to the other space, then swap, leaving garbage behind.
You've completed the free preview. Subscribe to unlock every lesson in every course.