--- old/src/hotspot/share/gc/serial/serialHeap.hpp 2020-07-23 11:41:29.788376136 +0800 +++ new/src/hotspot/share/gc/serial/serialHeap.hpp 2020-07-23 11:41:29.632376813 +0800 @@ -75,6 +75,9 @@ template void oop_since_save_marks_iterate(OopClosureType1* cur, OopClosureType2* older); + + // Runs the given AbstractGangTask with the current active workers. + virtual void run_task(AbstractGangTask* task); }; #endif // SHARE_GC_SERIAL_SERIALHEAP_HPP