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:
Vladimir Kozlov 2010-06-10 13:04:20 -07:00
parent 1f4cfb029b
commit 9c7b430e11
11 changed files with 89 additions and 144 deletions

View file

@ -355,9 +355,9 @@ void vframeArrayElement::unpack_on_stack(int callee_parameters,
} else {
base = iframe()->interpreter_frame_expression_stack();
}
Copy::conjoint_bytes(saved_args,
base,
popframe_preserved_args_size_in_bytes);
Copy::conjoint_jbytes(saved_args,
base,
popframe_preserved_args_size_in_bytes);
thread->popframe_free_preserved_args();
}
}