We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 401803c commit 1cf2805Copy full SHA for 1cf2805
src/policy/marksweepspace/native_ms/global.rs
@@ -432,9 +432,7 @@ impl<VM: VMBinding> GCWork<VM> for PrepareChunkMap<VM> {
432
} else {
433
// Otherwise this chunk is occupied, and we reset the mark bit if it is on the side.
434
if let MetadataSpec::OnSide(side) = *VM::VMObjectModel::LOCAL_MARK_BIT_SPEC {
435
- for chunk in self.space.chunk_map.all_chunks() {
436
- side.bzero_metadata(chunk.start(), Chunk::BYTES);
437
- }
+ side.bzero_metadata(self.chunk.start(), Chunk::BYTES);
438
}
439
440
0 commit comments