--- a/hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.hpp Tue Jul 05 17:57:20 2016 -0700
+++ b/hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.hpp Thu Jul 07 15:07:13 2016 +0100
@@ -995,10 +995,11 @@
}
// A generic CAS; success or failure is in the EQ flag.
+ // Clobbers rscratch1
void cmpxchg(Register addr, Register expected, Register new_val,
enum operand_size size,
- bool acquire, bool release,
- Register tmp = rscratch1);
+ bool acquire, bool release, bool weak,
+ Register result);
// Calls