Mark and Sweep Garbage Collection

Mark:

Sweep:

No compaction.