8158913: aarch64: SEGV running Spark terasort
authorenevill
Tue, 07 Jun 2016 10:17:28 +0000
changeset 39265 1177781b02ce
parent 39264 6f1681fea937
child 39266 be8d2fb376bd
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
hotspot/src/cpu/aarch64/vm/stubGenerator_aarch64.cpp
--- 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: