src/share/vm/gc/cms/compactibleFreeListSpace.cpp
Print this page
@@ -1950,18 +1950,18 @@
// Prepare_for_compaction() uses the space between live objects
// so that later phase can skip dead space quickly. So verification
// of the free lists doesn't work after.
}
-void CompactibleFreeListSpace::adjust_pointers() {
+void CompactibleFreeListSpace::adjust_pointers(MarkSweep* ms) {
// In other versions of adjust_pointers(), a bail out
// based on the amount of live data in the generation
// (i.e., if 0, bail out) may be used.
// Cannot test used() == 0 here because the free lists have already
// been mangled by the compaction.
- scan_and_adjust_pointers(this);
+ scan_and_adjust_pointers(this, ms);
// See note about verification in prepare_for_compaction().
}
void CompactibleFreeListSpace::compact() {
scan_and_compact(this);