From f836c6063ddd912bd0346246df98f46c45259f22 Mon Sep 17 00:00:00 2001 From: never Date: Fri, 3 Dec 2010 12:14:33 -0800 Subject: [PATCH] 7004530: casx used for 32 bit cas after 7003554 Reviewed-by: kvn, iveresov --- src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp b/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp index 8304e4019..1e02e0a68 100644 --- a/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp +++ b/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp @@ -2717,7 +2717,7 @@ void LIR_Assembler::emit_compare_and_swap(LIR_OpCompareAndSwap* op) { __ encode_heap_oop(t2); __ cas(addr, t1, t2); } else { - __ casx(addr, t1, t2); + __ cas_ptr(addr, t1, t2); } } else { __ cas(addr, t1, t2); -- GitLab