Skip to content

Commit d88f559

Browse files
committed
Compile with jdk-20+20
1 parent 18694a5 commit d88f559

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mmtk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ lto = true
1717
[package.metadata.openjdk]
1818
# Our CI matches the following line and extract mmtk/openjdk. If this line is updated, please check ci yaml files and make sure it works.
1919
openjdk_repo = "https://github.com/caizixian/jdk-mmtk.git"
20-
openjdk_version = "e6c607ee6cae86a54cb5f061ddbd29585a517fe0"
20+
openjdk_version = "9efdbe4fe8cc1b7e5dc6afc157bcbe11f295af44"
2121

2222
[dependencies]
2323
libc = "0.2"

openjdk/share/mmtkBarrierSetC2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ void MMTkBarrierSetC2::expand_allocate(PhaseMacroExpand* x,
415415
int size = TypeFunc::Parms + 2;
416416
CallLeafNode *call = new CallLeafNode(OptoRuntime::dtrace_object_alloc_Type(),
417417
CAST_FROM_FN_PTR(address,
418-
static_cast<int (*)(Thread*, oopDesc*)>(SharedRuntime::dtrace_object_alloc)),
418+
static_cast<int (*)(JavaThread*, oopDesc*)>(SharedRuntime::dtrace_object_alloc)),
419419
"dtrace_object_alloc",
420420
TypeRawPtr::BOTTOM);
421421

0 commit comments

Comments
 (0)