--- old/src/hotspot/share/gc/z/zHeap.hpp 2020-04-25 22:41:19.133495529 +0800 +++ new/src/hotspot/share/gc/z/zHeap.hpp 2020-04-25 22:41:18.973496242 +0800 @@ -105,6 +105,10 @@ void set_boost_worker_threads(bool boost); void worker_threads_do(ThreadClosure* tc) const; void print_worker_threads_on(outputStream* st) const; + // Runs the given AbstractGangTask with the current active workers, returning the + // total time taken. + Tickspan run_task(AbstractGangTask* task); + // Reference processing ReferenceDiscoverer* reference_discoverer();