Skip to content

Commit de2ccb0

Browse files
qinsoonmmtkgc-bot
andauthored
Bump version to v0.24 (#271)
Co-authored-by: mmtkgc-bot <mmtkgc.bot@gmail.com>
1 parent fd7ff21 commit de2ccb0

File tree

6 files changed

+17
-11
lines changed

6 files changed

+17
-11
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
0.24.0 (2024-04-08)
2+
===
3+
4+
* Update mmtk-core to v0.24.0.
5+
* Update Rust toolchain to 1.77.0.
6+
17
0.23.0 (2024-02-09)
28
===
39

mmtk/Cargo.lock

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mmtk/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "mmtk_openjdk"
3-
version = "0.23.0"
3+
version = "0.24.0"
44
authors = [" <>"]
5-
rust-version = "1.70.0"
5+
rust-version = "1.71.1"
66
build = "build.rs"
77
edition = "2021"
88

@@ -32,7 +32,7 @@ memoffset = "0.9.0"
3232
# - change branch
3333
# - change repo name
3434
# But other changes including adding/removing whitespaces in commented lines may break the CI.
35-
mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "2d3677d6a0099d1ff561f5668bf89b432f7cad00" }
35+
mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "86518d2ebc34b443c312de017dc81c7b097e3b10" }
3636
# Uncomment the following to build locally
3737
# mmtk = { path = "../repos/mmtk-core" }
3838

mmtk/rust-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.71.1
1+
1.77.0

mmtk/src/api.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ pub extern "C" fn get_finalized_object() -> ObjectReference {
527527

528528
thread_local! {
529529
/// Cache all the pointers reported by the current thread.
530-
static NMETHOD_SLOTS: RefCell<Vec<Address>> = RefCell::new(vec![]);
530+
static NMETHOD_SLOTS: RefCell<Vec<Address>> = const { RefCell::new(vec![]) };
531531
}
532532

533533
/// Report a list of pointers in nmethod to mmtk.

mmtk/src/object_scanning.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ fn oop_iterate<const COMPRESSED: bool>(oop: Oop, closure: &mut impl EdgeVisitor<
216216
}
217217

218218
thread_local! {
219-
static CLOSURE: UnsafeCell<*mut u8> = UnsafeCell::new(std::ptr::null_mut());
219+
static CLOSURE: UnsafeCell<*mut u8> = const { UnsafeCell::new(std::ptr::null_mut()) };
220220
}
221221

222222
pub unsafe extern "C" fn scan_object_fn<

0 commit comments

Comments
 (0)