提交 f836c606 编写于 作者: N never

7004530: casx used for 32 bit cas after 7003554

Reviewed-by: kvn, iveresov
上级 e96ebbe5
...@@ -2717,7 +2717,7 @@ void LIR_Assembler::emit_compare_and_swap(LIR_OpCompareAndSwap* op) { ...@@ -2717,7 +2717,7 @@ void LIR_Assembler::emit_compare_and_swap(LIR_OpCompareAndSwap* op) {
__ encode_heap_oop(t2); __ encode_heap_oop(t2);
__ cas(addr, t1, t2); __ cas(addr, t1, t2);
} else { } else {
__ casx(addr, t1, t2); __ cas_ptr(addr, t1, t2);
} }
} else { } else {
__ cas(addr, t1, t2); __ cas(addr, t1, t2);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册