< prev index next >

src/hotspot/share/gc/shared/barrierSet.hpp

Print this page
rev 53158 : 8215724: Epsilon: ArrayStoreExceptionTest.java fails; missing arraycopy check
Reviewed-by: XXX

*** 273,287 **** } template <typename T> static bool oop_arraycopy_in_heap(arrayOop src_obj, size_t src_offset_in_bytes, T* src_raw, arrayOop dst_obj, size_t dst_offset_in_bytes, T* dst_raw, ! size_t length) { ! return Raw::oop_arraycopy(src_obj, src_offset_in_bytes, src_raw, ! dst_obj, dst_offset_in_bytes, dst_raw, ! length); ! } // Off-heap oop accesses. These accessors get resolved when // IN_HEAP is not set (e.g. when using the NativeAccess API), it is // an oop* overload, and the barrier strength is AS_NORMAL. template <typename T> --- 273,283 ---- } template <typename T> static bool oop_arraycopy_in_heap(arrayOop src_obj, size_t src_offset_in_bytes, T* src_raw, arrayOop dst_obj, size_t dst_offset_in_bytes, T* dst_raw, ! size_t length); // Off-heap oop accesses. These accessors get resolved when // IN_HEAP is not set (e.g. when using the NativeAccess API), it is // an oop* overload, and the barrier strength is AS_NORMAL. template <typename T>
< prev index next >