--- old/src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp 2020-08-11 22:49:25.627946443 +0800 +++ new/src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp 2020-08-11 22:49:25.451947005 +0800 @@ -198,6 +198,8 @@ WorkGang* get_safepoint_workers(); void gc_threads_do(ThreadClosure* tcl) const; + // Runs the given AbstractGangTask with the current active workers. + virtual void run_task(AbstractGangTask* task); // ---------- Heap regions handling machinery //