Skip to content

Commit 2d0befa

Browse files
committed
Merge branch 'master' into weak-ref
2 parents d1d810e + cb77425 commit 2d0befa

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

mmtk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ lazy_static = "1.1"
2626
# - change branch
2727
# - change repo name
2828
# But other changes including adding/removing whitespaces in commented lines may break the CI.
29-
mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "a55db731e38618f2143a14b5152390dcc7ba4faf" }
29+
mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "4ba3ed2b9be7dc94bc02c04c00f225f3be2274ad" }
3030
# Uncomment the following to build locally
3131
# mmtk = { path = "../repos/mmtk-core" }
3232

mmtk/src/api.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ pub extern "C" fn handle_user_collection_request(tls: VMMutatorThread) {
163163
}
164164

165165
#[no_mangle]
166-
pub extern "C" fn is_mapped_object(object: ObjectReference) -> bool {
167-
memory_manager::is_mapped_object(object)
166+
pub extern "C" fn is_in_mmtk_spaces(object: ObjectReference) -> bool {
167+
memory_manager::is_in_mmtk_spaces(object)
168168
}
169169

170170
#[no_mangle]

openjdk/mmtk.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ extern void record_modified_node(MMTk_Mutator mutator, void* obj);
4747

4848
extern void release_buffer(void** buffer, size_t len, size_t cap);
4949

50-
extern bool is_mapped_object(void* ref);
50+
extern bool is_in_mmtk_spaces(void* ref);
5151
extern bool is_mapped_address(void* addr);
5252
extern void modify_check(void* ref);
5353

openjdk/mmtkHeap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ bool MMTkHeap::is_in(const void* p) const {
186186
//return cp >= committed_low_addr() && cp < committed_high_addr();
187187

188188
//guarantee(false, "is in not supported");
189-
return is_mapped_object(const_cast<void *>(p));
189+
return is_in_mmtk_spaces(const_cast<void *>(p));
190190
}
191191

192192
bool MMTkHeap::is_in_reserved(const void* p) const {

0 commit comments

Comments
 (0)