mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +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
|
@ -48,7 +48,7 @@ void Copy::conjoint_memory_atomic(void* from, void* to, size_t size) {
|
|||
Copy::conjoint_jshorts_atomic((jshort*) src, (jshort*) dst, size / sizeof(jshort));
|
||||
} else {
|
||||
// Not aligned, so no need to be atomic.
|
||||
Copy::conjoint_bytes((void*) src, (void*) dst, size);
|
||||
Copy::conjoint_jbytes((void*) src, (void*) dst, size);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue