From ded25ef1a4fcf52dbbf4a190eb4cfe67d0413527 Mon Sep 17 00:00:00 2001 From: Kunshan Wang Date: Fri, 28 Apr 2023 13:32:13 +0800 Subject: [PATCH] Remove deprecated const. The constant `COORDINATOR_ONLY_STW` is deprecated and has no effect. --- mmtk/src/collection.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mmtk/src/collection.rs b/mmtk/src/collection.rs index f02e3f56..af83d6b6 100644 --- a/mmtk/src/collection.rs +++ b/mmtk/src/collection.rs @@ -32,10 +32,6 @@ const GC_THREAD_KIND_CONTROLLER: libc::c_int = 0; const GC_THREAD_KIND_WORKER: libc::c_int = 1; impl Collection for VMCollection { - /// With the presence of the "VM companion thread", - /// the OpenJDK binding allows any MMTk GC thread to stop/start the world. - const COORDINATOR_ONLY_STW: bool = false; - fn stop_all_mutators(tls: VMWorkerThread, mut mutator_visitor: F) where F: FnMut(&'static mut Mutator),