From 6191ee994a4692ba4e9af7079a1f05bf356b3430 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Wed, 15 Jan 2025 10:12:20 -0500 Subject: [PATCH] Bump mmtk-core https://github.com/mmtk/mmtk-core/pull/1261 fixes an issue where the following script causes a Rust panic: GC.disable 10_000.times { Object.new } puts GC.stat --- gc/mmtk/Cargo.lock | 4 ++-- gc/mmtk/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gc/mmtk/Cargo.lock b/gc/mmtk/Cargo.lock index 4abd431..b8a4584 100644 --- a/gc/mmtk/Cargo.lock +++ b/gc/mmtk/Cargo.lock @@ -432,7 +432,7 @@ dependencies = [ [[package]] name = "mmtk" version = "0.30.0" -source = "git+https://github.com/mmtk/mmtk-core.git?rev=68bf1b638263b250b12e55ef25bf8d09b01ca0b0#68bf1b638263b250b12e55ef25bf8d09b01ca0b0" +source = "git+https://github.com/mmtk/mmtk-core.git?rev=2f6f078b6fd7bdc23688ead55a055d825a23b863#2f6f078b6fd7bdc23688ead55a055d825a23b863" dependencies = [ "atomic", "atomic-traits", @@ -468,7 +468,7 @@ dependencies = [ [[package]] name = "mmtk-macros" version = "0.30.0" -source = "git+https://github.com/mmtk/mmtk-core.git?rev=68bf1b638263b250b12e55ef25bf8d09b01ca0b0#68bf1b638263b250b12e55ef25bf8d09b01ca0b0" +source = "git+https://github.com/mmtk/mmtk-core.git?rev=2f6f078b6fd7bdc23688ead55a055d825a23b863#2f6f078b6fd7bdc23688ead55a055d825a23b863" dependencies = [ "proc-macro-error", "proc-macro2", diff --git a/gc/mmtk/Cargo.toml b/gc/mmtk/Cargo.toml index 93ad269..0560753 100644 --- a/gc/mmtk/Cargo.toml +++ b/gc/mmtk/Cargo.toml @@ -26,7 +26,7 @@ features = ["is_mmtk_object", "object_pinning", "sticky_immix_non_moving_nursery # Uncomment the following lines to use mmtk-core from the official repository. git = "https://github.com/mmtk/mmtk-core.git" -rev = "68bf1b638263b250b12e55ef25bf8d09b01ca0b0" +rev = "2f6f078b6fd7bdc23688ead55a055d825a23b863" # Uncomment the following line to use mmtk-core from a local repository. # path = "../../../mmtk-core"