comparison src/share/vm/c1/c1_Runtime1.cpp @ 1603:d93949c5bdcc

6730276: JDI_REGRESSION tests fail with "Error: count must be non-zero" error on x86 Summary: Modify assembler code to check for 0 count for all copy routines. Reviewed-by: never, ysr, jcoomes
author kvn
date Thu, 10 Jun 2010 13:04:20 -0700
parents 136b78722a08
children 126ea7725993
comparison
equal deleted inserted replaced
1602:136b78722a08 1603:d93949c5bdcc
1120 #endif 1120 #endif
1121 1121
1122 if (length == 0) return; 1122 if (length == 0) return;
1123 // Not guaranteed to be word atomic, but that doesn't matter 1123 // Not guaranteed to be word atomic, but that doesn't matter
1124 // for anything but an oop array, which is covered by oop_arraycopy. 1124 // for anything but an oop array, which is covered by oop_arraycopy.
1125 Copy::conjoint_bytes(src, dst, length); 1125 Copy::conjoint_jbytes(src, dst, length);
1126 JRT_END 1126 JRT_END
1127 1127
1128 JRT_LEAF(void, Runtime1::oop_arraycopy(HeapWord* src, HeapWord* dst, int num)) 1128 JRT_LEAF(void, Runtime1::oop_arraycopy(HeapWord* src, HeapWord* dst, int num))
1129 #ifndef PRODUCT 1129 #ifndef PRODUCT
1130 _oop_arraycopy_cnt++; 1130 _oop_arraycopy_cnt++;