diff --git a/mmtk/Cargo.toml b/mmtk/Cargo.toml index aaba99ed..f98af1dc 100644 --- a/mmtk/Cargo.toml +++ b/mmtk/Cargo.toml @@ -2,7 +2,7 @@ name = "mmtk_openjdk" version = "0.30.0" authors = [" <>"] -rust-version = "1.73.0" +rust-version = "1.74.1" build = "build.rs" edition = "2021" @@ -35,12 +35,12 @@ probe = "0.5" # - change branch # - change repo name # But other changes including adding/removing whitespaces in commented lines may break the CI. -mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "ec745353a8de72b645613e0fef3ab7f5f1ad9bd1" } +mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "f67a0d2fc0bf3d18d34348949dff969d4d202bbc" } # Uncomment the following to build locally # mmtk = { path = "../repos/mmtk-core" } [build-dependencies] -built = { version = "0.7.1", features = ["git2"] } +built = { version = "0.7.7", features = ["git2"] } [features] default = [] diff --git a/mmtk/src/scanning.rs b/mmtk/src/scanning.rs index 528b940d..3b0c4aac 100644 --- a/mmtk/src/scanning.rs +++ b/mmtk/src/scanning.rs @@ -12,7 +12,7 @@ use mmtk::MutatorContext; pub struct VMScanning {} -pub(crate) const WORK_PACKET_CAPACITY: usize = 4096; +pub(crate) const WORK_PACKET_CAPACITY: usize = mmtk::scheduler::EDGES_WORK_BUFFER_SIZE; extern "C" fn report_slots_and_renew_buffer>( ptr: *mut Address,