< prev index next >

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

Print this page
@@ -552,11 +552,11 @@
        // prefetch beyond compaction_top
        Prefetch::write(compaction_top, copy_interval);
  
        // copy object and reinit its mark
        assert(cur_obj != compaction_top, "everything in this pass should be moving");
-       Copy::aligned_conjoint_words(cur_obj, compaction_top, size);
+       cast_to_oop(cur_obj)->copy_conjoint(compaction_top, size);
        cast_to_oop(compaction_top)->init_mark();
        assert(cast_to_oop(compaction_top)->klass() != NULL, "should have a class");
  
        debug_only(prev_obj = cur_obj);
        cur_obj += size;
< prev index next >