< prev index next >
src/cpu/aarch64/vm/aarch64.ad
Print this page
rev 9032 : 8139042: AARCH64: Correct regression introduced by 8080293
Summary: Reinstate unsafe volatile optimization broken by JDK-8080293
Reviewed-by: duke
Change logic of test to match change in return logic
@@ -2554,11 +2554,11 @@
}
// we must have dropped the load
if (ld == NULL) {
// check for a child cpuorder membar
MemBarNode *child = child_membar(barrier->as_MemBar());
- if (child && child->Opcode() != Op_MemBarCPUOrder)
+ if (child && child->Opcode() == Op_MemBarCPUOrder)
return true;
}
}
// final option for unnecessary mebar is that it is a trailing node
< prev index next >