7004530: casx used for 32 bit cas after 7003554
authornever
Fri, 03 Dec 2010 12:14:33 -0800
changeset 7435 3da377e9db3f
parent 7434 8eabf2bbad81
child 7436 dbc43da3d512
7004530: casx used for 32 bit cas after 7003554 Reviewed-by: kvn, iveresov
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);