# HG changeset patch # User never # Date 1291407273 28800 # Node ID 3da377e9db3fc0a8f25544f21829dd2e14332e9f # Parent 8eabf2bbad81ecf4c3d88c4e0304c4176f54bdec 7004530: casx used for 32 bit cas after 7003554 Reviewed-by: kvn, iveresov diff -r 8eabf2bbad81 -r 3da377e9db3f hotspot/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp --- a/hotspot/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp Fri Dec 03 06:14:37 2010 -0800 +++ b/hotspot/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp Fri Dec 03 12:14:33 2010 -0800 @@ -2717,7 +2717,7 @@ __ encode_heap_oop(t2); __ cas(addr, t1, t2); } else { - __ casx(addr, t1, t2); + __ cas_ptr(addr, t1, t2); } } else { __ cas(addr, t1, t2);