diff src/share/vm/runtime/thread.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 b812ff5abc73
children 2389669474a6
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Wed Jun 09 18:50:45 2010 -0700
+++ b/src/share/vm/runtime/thread.cpp	Thu Jun 10 13:04:20 2010 -0700
@@ -2698,7 +2698,7 @@
   if (in_bytes(size_in_bytes) != 0) {
     _popframe_preserved_args = NEW_C_HEAP_ARRAY(char, in_bytes(size_in_bytes));
     _popframe_preserved_args_size = in_bytes(size_in_bytes);
-    Copy::conjoint_bytes(start, _popframe_preserved_args, _popframe_preserved_args_size);
+    Copy::conjoint_jbytes(start, _popframe_preserved_args, _popframe_preserved_args_size);
   }
 }