src/share/vm/gc/shared/space.cpp

Print this page

        

@@ -413,17 +413,17 @@
 
 void ContiguousSpace::prepare_for_compaction(CompactPoint* cp) {
   scan_and_forward(this, cp);
 }
 
-void CompactibleSpace::adjust_pointers() {
+void CompactibleSpace::adjust_pointers(MarkSweep* ms) {
   // Check first is there is any work to do.
   if (used() == 0) {
     return;   // Nothing to do.
   }
 
-  scan_and_adjust_pointers(this);
+  scan_and_adjust_pointers(this, ms);
 }
 
 void CompactibleSpace::compact() {
   scan_and_compact(this);
 }