--- old/src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp 2020-07-29 15:26:46.819931341 +0800 +++ new/src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp 2020-07-29 15:26:46.535931330 +0800 @@ -617,6 +617,10 @@ void tlabs_retire(bool resize); void gclabs_retire(bool resize); + // Runs the given AbstractGangTask with the current active workers. + // Returns the total time to run the task. + virtual void run_task(AbstractGangTask* task); + // ---------- Marking support // private: