< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp

Print this page
*** 328,11 ***
  
      return ShenandoahBarrierSet::resolve_forwarded(p);
    }
  
    // Copy the object:
!   Copy::aligned_disjoint_words(cast_from_oop<HeapWord*>(p), copy, size);
  
    // Try to install the new forwarding pointer.
    oop copy_val = cast_to_oop(copy);
    oop result = ShenandoahForwarding::try_update_forwardee(p, copy_val);
    if (result == copy_val) {
--- 328,11 ---
  
      return ShenandoahBarrierSet::resolve_forwarded(p);
    }
  
    // Copy the object:
!   p->copy_disjoint(copy, size);
  
    // Try to install the new forwarding pointer.
    oop copy_val = cast_to_oop(copy);
    oop result = ShenandoahForwarding::try_update_forwardee(p, copy_val);
    if (result == copy_val) {
< prev index next >