diff --git a/src/policy/marksweepspace/native_ms/global.rs b/src/policy/marksweepspace/native_ms/global.rs index b6163cbba1..eef0ace311 100644 --- a/src/policy/marksweepspace/native_ms/global.rs +++ b/src/policy/marksweepspace/native_ms/global.rs @@ -536,9 +536,7 @@ impl GCWork for PrepareChunkMap { } else { // Otherwise this chunk is occupied, and we reset the mark bit if it is on the side. if let MetadataSpec::OnSide(side) = *VM::VMObjectModel::LOCAL_MARK_BIT_SPEC { - for chunk in self.space.chunk_map.all_chunks() { - side.bzero_metadata(chunk.start(), Chunk::BYTES); - } + side.bzero_metadata(self.chunk.start(), Chunk::BYTES); } } }