< prev index next >

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

Print this page
rev 49182 : 8198445: Access API for primitive/native arraycopy
rev 49183 : [mq]: 8198445-2.patch

@@ -316,6 +316,12 @@
                                             align_object_size(size) / HeapWordsPerLong);
   // Clear the header
   dst->init_mark();
 }
 
+
+template<typename T>
+void AccessInternal::arraycopy_conjoint_atomic(T* src, T* dst, size_t length) {
+  Copy::conjoint_memory_atomic(reinterpret_cast<void*>(src), reinterpret_cast<void*>(dst), length * sizeof(T));
+}
+
 #endif // SHARE_VM_RUNTIME_ACCESSBACKEND_INLINE_HPP
< prev index next >