Skip to content

Commit d3d7997

Browse files
qinsoonmmtkgc-bot
andcommitted
Use MMTk's VO bit spec (#200)
This PR updates to mmtk-core: mmtk/mmtk-core#1248. This allows us to remove the duplicate code for vo bit. --------- Co-authored-by: mmtkgc-bot <mmtkgc.bot@gmail.com>
1 parent 20e6a00 commit d3d7997

File tree

5 files changed

+6
-168
lines changed

5 files changed

+6
-168
lines changed

mmtk/Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mmtk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ memoffset = "*"
4040
# ykstackmaps = { git = "https://github.com/udesou/ykstackmaps.git", branch = "udesou-master", version = "*" }
4141

4242
[features]
43-
default = ["mmtk/vm_space", "julia_copy_stack", "object_pinning", "is_mmtk_object"]
43+
default = ["mmtk/vm_space", "julia_copy_stack", "object_pinning", "is_mmtk_object", "mmtk/vo_bit_access"]
4444

4545
# Plans
4646
nogc = []

mmtk/src/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ fn set_side_vo_bit_for_region(start: Address, size: usize) {
406406
size
407407
);
408408

409-
crate::vo_bit::bulk_update_vo_bit(start, size)
409+
mmtk::util::metadata::vo_bit::VO_BIT_SIDE_METADATA_SPEC.bset_metadata(start, size);
410410
}
411411

412412
#[no_mangle]

mmtk/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ pub mod reference_glue;
2727
pub mod scanning;
2828
pub mod slots;
2929
pub mod util;
30-
mod vo_bit;
3130

3231
pub mod julia_finalizer;
3332
pub mod julia_scanning;

mmtk/src/vo_bit.rs

Lines changed: 0 additions & 161 deletions
This file was deleted.

0 commit comments

Comments
 (0)