mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
6730276: JDI_REGRESSION tests fail with "Error: count must be non-zero" error on x86
Modify assembler code to check for 0 count for all copy routines. Reviewed-by: never, ysr, jcoomes
This commit is contained in:
parent
1f4cfb029b
commit
9c7b430e11
11 changed files with 89 additions and 144 deletions
|
@ -1122,7 +1122,7 @@ JRT_LEAF(void, Runtime1::primitive_arraycopy(HeapWord* src, HeapWord* dst, int l
|
|||
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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue