Skip to content

Commit 1dc0803

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

File tree

5 files changed

+5
-17
lines changed

5 files changed

+5
-17
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
@@ -27,7 +27,7 @@ log = "*"
2727
# - change branch
2828
# - change repo name
2929
# But other changes including adding/removing whitespaces in commented lines may break the CI.
30-
mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "61d20e2dcd5b4743ef04a8118eb807bcd6f6e2e2" }
30+
mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "57af17fbfd94ff0df2cd3b1e504abe299ce4f0ab" }
3131
# Uncomment the following and fix the path to mmtk-core to build locally
3232
# mmtk = { path = "../repos/mmtk-core" }
3333

mmtk/src/active_plan.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,12 @@ use super::UPCALLS;
22
use mmtk::util::opaque_pointer::*;
33
use mmtk::vm::ActivePlan;
44
use mmtk::Mutator;
5-
use mmtk::Plan;
65
use std::sync::Mutex;
7-
use SINGLETON;
86
use V8;
97

108
pub struct VMActivePlan {}
119

1210
impl ActivePlan<V8> for VMActivePlan {
13-
fn global() -> &'static dyn Plan<VM = V8> {
14-
SINGLETON.get_plan()
15-
}
16-
1711
fn is_mutator(tls: VMThread) -> bool {
1812
unsafe { ((*UPCALLS).is_mutator)(tls) }
1913
}

mmtk/src/api.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,6 @@ pub extern "C" fn is_mapped_address(address: Address) -> bool {
162162
memory_manager::is_mapped_address(address)
163163
}
164164

165-
#[no_mangle]
166-
pub extern "C" fn modify_check(mmtk: &mut MMTK<V8>, object: ObjectReference) {
167-
memory_manager::modify_check(mmtk, object);
168-
}
169-
170165
#[no_mangle]
171166
pub extern "C" fn handle_user_collection_request(mmtk: &mut MMTK<V8>, tls: VMMutatorThread) {
172167
memory_manager::handle_user_collection_request::<V8>(mmtk, tls);

v8/third_party/heap/mmtk/mmtk.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ extern void post_alloc(MMTk_Mutator mutator, void* refer,
3737
extern bool is_live_object(void* ref);
3838
extern bool is_in_mmtk_spaces(void* ref);
3939
extern bool is_mapped_address(void* addr);
40-
extern void modify_check(void *mmtk, void* ref);
4140
extern bool is_in_read_only_space(void* addr);
4241
extern bool is_in_code_space(void* addr);
4342

0 commit comments

Comments
 (0)