Initial implementation of semi-space garbage collection.