src/share/vm/gc/shared/generation.hpp

Print this page

        

@@ -66,10 +66,11 @@
 class OopClosure;
 class ScanClosure;
 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
 // the address of "this".
 struct ScratchBlock {

@@ -398,11 +399,11 @@
   virtual void update_gc_stats(Generation* current_generation, bool full) {}
 
   // 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(); }
 
   // Support for CMS's rescan. In this general form we return a pointer