Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Runtime1.cpp Wed Jun 09 18:50:45 2010 -0700 +++ b/src/share/vm/c1/c1_Runtime1.cpp Thu Jun 10 13:04:20 2010 -0700 @@ -1122,7 +1122,7 @@ if (length == 0) return; // Not guaranteed to be word atomic, but that doesn't matter // for anything but an oop array, which is covered by oop_arraycopy. - Copy::conjoint_bytes(src, dst, length); + Copy::conjoint_jbytes(src, dst, length); JRT_END JRT_LEAF(void, Runtime1::oop_arraycopy(HeapWord* src, HeapWord* dst, int num))