Skip to content

Commit 14a26b1

Browse files
authored
Fix vo-bit reset for discontiguous space (#948)
This PR fixes `CpoySpace::reset_vo_bit` and vo-bit reset implementation for discontiguous space
1 parent 61d20e2 commit 14a26b1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/policy/copyspace.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,9 @@ impl<VM: VMBinding> CopySpace<VM> {
197197
);
198198
}
199199
} else {
200-
unimplemented!();
200+
for (start, size) in self.pr.iterate_allocated_regions() {
201+
crate::util::metadata::vo_bit::bzero_vo_bit(start, size);
202+
}
201203
}
202204
}
203205

0 commit comments

Comments
 (0)