Skip to content

Commit

Permalink
Fix vo-bit reset for discontiguous space (#948)
Browse files Browse the repository at this point in the history
This PR fixes `CpoySpace::reset_vo_bit` and vo-bit reset implementation
for discontiguous space
  • Loading branch information
wenyuzhao committed Sep 11, 2023
1 parent 61d20e2 commit 14a26b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/policy/copyspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ impl<VM: VMBinding> CopySpace<VM> {
);
}
} else {
unimplemented!();
for (start, size) in self.pr.iterate_allocated_regions() {
crate::util::metadata::vo_bit::bzero_vo_bit(start, size);
}
}
}

Expand Down

0 comments on commit 14a26b1

Please sign in to comment.