src/share/vm/opto/library_call.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 7047954 Cdiff src/share/vm/opto/library_call.cpp

src/share/vm/opto/library_call.cpp

Print this page

        

*** 4579,4589 **** // (9) each element of an oop array must be assignable // The generate_arraycopy subroutine checks this. // This is where the memory effects are placed: ! const TypePtr* adr_type = TypeAryPtr::get_array_body_type(dest_elem); generate_arraycopy(adr_type, dest_elem, src, src_offset, dest, dest_offset, length, false, false, slow_region); return true; --- 4579,4589 ---- // (9) each element of an oop array must be assignable // The generate_arraycopy subroutine checks this. // This is where the memory effects are placed: ! const TypePtr* adr_type = (top_dest->const_oop()) ? top_dest : TypeAryPtr::get_array_body_type(dest_elem); generate_arraycopy(adr_type, dest_elem, src, src_offset, dest, dest_offset, length, false, false, slow_region); return true;
src/share/vm/opto/library_call.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File