src/share/vm/oops/oop.hpp

Print this page

        

@@ -52,10 +52,11 @@
 class BarrierSet;
 class CMSIsAliveClosure;
 
 class PSPromotionManager;
 class ParCompactionManager;
+class MarkSweep;
 
 class oopDesc {
   friend class VMStructs;
   friend class JVMCIVMStructs;
  private:

@@ -326,11 +327,11 @@
   // Garbage Collection support
 
   // Mark Sweep
   // Adjust all pointers in this object to point at it's forwarded location and
   // return the size of this oop. This is used by the MarkSweep collector.
-  inline int  ms_adjust_pointers();
+  inline int  ms_adjust_pointers(MarkSweep* ms);
 #if INCLUDE_ALL_GCS
   // Parallel Compact
   inline void pc_follow_contents(ParCompactionManager* cm);
   inline void pc_update_contents(ParCompactionManager* cm);
   // Parallel Scavenge