mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
7004530: casx used for 32 bit cas after 7003554
Reviewed-by: kvn, iveresov
This commit is contained in:
parent
bd6731ae92
commit
f74039fd41
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue