--- old/src/share/vm/gc/shared/generation.hpp 2016-12-20 16:32:08.558622535 -0500 +++ new/src/share/vm/gc/shared/generation.hpp 2016-12-20 16:32:07.362554116 -0500 @@ -68,6 +68,7 @@ class FastScanClosure; class GenCollectedHeap; class GCStats; +class MarkSweep; // A "ScratchBlock" represents a block of memory in one generation usable by // another. It represents "num_words" free words, starting at and including @@ -400,7 +401,7 @@ // Mark sweep support phase2 virtual void prepare_for_compaction(CompactPoint* cp); // Mark sweep support phase3 - virtual void adjust_pointers(); + virtual void adjust_pointers(MarkSweep* ms); // Mark sweep support phase4 virtual void compact(); virtual void post_compact() { ShouldNotReachHere(); }