static void pd_conjoint_jints_atomic(jint* from, jint* to, size_t count) { #ifdef AMD64 _Copy_conjoint_jints_atomic(from, to, count); #else assert(HeapWordSize == BytesPerInt, "heapwords and jints must be the same size"); // pd_conjoint_words is word-atomic in this implementation. pd_conjoint_words((HeapWord*)from, (HeapWord*)to, count); #endif // AMD64 }
static void pd_aligned_conjoint_words(HeapWord* from, HeapWord* to, size_t count) { pd_conjoint_words(from, to, count); }
// Word-aligned words, conjoint, not atomic on each word static inline void conjoint_words(HeapWord*from,HeapWord*to,size_t count){ assert_params_ok(from, to, LogHeapWordSize); pd_conjoint_words(from, to, count); }