changeset 39265:1177781b02ce

8158913: aarch64: SEGV running Spark terasort Summary: Use signed instead of unsigned test for end of loop in gen_write_ref_array_post_barrier Reviewed-by: aph Contributed-by: felix.yang@linaro.org
author enevill
date Tue, 07 Jun 2016 10:17:28 +0000
parents 6f1681fea937
children be8d2fb376bd
files hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp	Tue Jun 07 17:16:51 2016 -0700
+++ b/hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp	Tue Jun 07 10:17:28 2016 +0000
@@ -710,7 +710,7 @@
           __ BIND(L_loop);
           __ strb(zr, Address(start, count));
           __ subs(count, count, 1);
-          __ br(Assembler::HS, L_loop);
+          __ br(Assembler::GE, L_loop);
         }
         break;
       default: