hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp
changeset 31867 5d39059535ba
parent 31849 92ca49fa9fa7
parent 31863 22ea3a456610
child 31958 876ee641406b
--- a/hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp	Tue Jul 21 07:28:37 2015 -0700
+++ b/hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp	Thu Jul 23 19:11:28 2015 +0200
@@ -3792,8 +3792,8 @@
     br(Assembler::HI, slow_case);
 
     // If heap_top hasn't been changed by some other thread, update it.
-    stlxr(rscratch1, end, rscratch1);
-    cbnzw(rscratch1, retry);
+    stlxr(rscratch2, end, rscratch1);
+    cbnzw(rscratch2, retry);
   }
 }