8139042: AARCH64: Correct regression introduced by 8080293
Reinstate unsafe volatile optimization broken by JDK-8080293 Reviewed-by: aph, kvn
This commit is contained in:
parent
5a633b1cbd
commit
bf99cd983a
@ -2556,7 +2556,7 @@ bool unnecessary_acquire(const Node *barrier)
|
|||||||
if (ld == NULL) {
|
if (ld == NULL) {
|
||||||
// check for a child cpuorder membar
|
// check for a child cpuorder membar
|
||||||
MemBarNode *child = child_membar(barrier->as_MemBar());
|
MemBarNode *child = child_membar(barrier->as_MemBar());
|
||||||
if (child && child->Opcode() != Op_MemBarCPUOrder)
|
if (child && child->Opcode() == Op_MemBarCPUOrder)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user