Skip to content

Commit 6992549

Browse files
qinsoonmmtkgc-bot
andauthored
Update to MMTk core PR #949 (#36)
Updates to mmtk/mmtk-core#949 --------- Co-authored-by: mmtkgc-bot <[email protected]>
1 parent 4fcb857 commit 6992549

File tree

4 files changed

+3
-12
lines changed

4 files changed

+3
-12
lines changed

mmtk/Cargo.lock

Lines changed: 2 additions & 2 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ features = ["is_mmtk_object", "object_pinning"]
3838
# Uncomment one of the following lines to choose where to find mmtk-core.
3939
git = "https://github.com/mmtk/mmtk-core.git" # Use mmtk-core from the official repository.
4040
#path = "../../mmtk-core" # Use mmtk-core from a local repository.
41+
rev = "57af17fbfd94ff0df2cd3b1e504abe299ce4f0ab"
4142

4243
[features]
4344
default = []

mmtk/src/active_plan.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,10 @@ use crate::Ruby;
77
use mmtk::util::opaque_pointer::*;
88
use mmtk::vm::ActivePlan;
99
use mmtk::Mutator;
10-
use mmtk::Plan;
1110

1211
pub struct VMActivePlan {}
1312

1413
impl ActivePlan<Ruby> for VMActivePlan {
15-
fn global() -> &'static dyn Plan<VM = Ruby> {
16-
mmtk().get_plan()
17-
}
18-
1914
fn number_of_mutators() -> usize {
2015
(upcalls().number_of_mutators)()
2116
}

mmtk/src/api.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,6 @@ pub extern "C" fn mmtk_is_mmtk_object(addr: Address) -> bool {
208208
memory_manager::is_mmtk_object(addr)
209209
}
210210

211-
#[no_mangle]
212-
pub extern "C" fn mmtk_modify_check(object: ObjectReference) {
213-
memory_manager::modify_check(mmtk(), object)
214-
}
215-
216211
#[no_mangle]
217212
pub extern "C" fn mmtk_handle_user_collection_request(tls: VMMutatorThread) {
218213
memory_manager::handle_user_collection_request::<Ruby>(mmtk(), tls);

0 commit comments

Comments
 (0)