< prev index next >

src/hotspot/share/oops/accessBackend.inline.hpp

Print this page
rev 49289 : 8199735: Mark word updates need to use Access API

*** 313,321 **** assert(MinObjAlignmentInBytes >= BytesPerLong, "objects misaligned"); AccessInternal::arraycopy_conjoint_atomic(reinterpret_cast<jlong*>((oopDesc*)src), reinterpret_cast<jlong*>((oopDesc*)dst), align_object_size(size) / HeapWordsPerLong); // Clear the header ! dst->init_mark(); } #endif // SHARE_VM_RUNTIME_ACCESSBACKEND_INLINE_HPP --- 313,321 ---- assert(MinObjAlignmentInBytes >= BytesPerLong, "objects misaligned"); AccessInternal::arraycopy_conjoint_atomic(reinterpret_cast<jlong*>((oopDesc*)src), reinterpret_cast<jlong*>((oopDesc*)dst), align_object_size(size) / HeapWordsPerLong); // Clear the header ! dst->init_mark_raw(); } #endif // SHARE_VM_RUNTIME_ACCESSBACKEND_INLINE_HPP
< prev index next >