Skip to content

Commit f531219

Browse files
authored
Update to MMTk core PR #609 (#162)
1 parent 285f2a9 commit f531219

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

mmtk/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ once_cell = "1.10.0"
2828
# - change branch
2929
# - change repo name
3030
# But other changes including adding/removing whitespaces in commented lines may break the CI.
31-
mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "662c9015e59044f0114c8a69663055fac1212544" }
31+
mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "f78de4ed8ffd6f834c6c3d3a0bde0a651cc33f2b" }
3232
# Uncomment the following to build locally
3333
# mmtk = { path = "../repos/mmtk-core" }
3434

mmtk/src/reference_glue.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ use mmtk::vm::ReferenceGlue;
88
pub struct VMReferenceGlue {}
99

1010
impl ReferenceGlue<OpenJDK> for VMReferenceGlue {
11+
type FinalizableType = ObjectReference;
12+
1113
fn set_referent(reff: ObjectReference, referent: ObjectReference) {
1214
let oop = Oop::from(reff);
1315
unsafe { InstanceRefKlass::referent_address(oop).store(referent) };

0 commit comments

Comments
 (0)