changeset 9379:30f10e51ad6f

8139042: AARCH64: Correct regression introduced by 8080293 Summary: Reinstate unsafe volatile optimization broken by JDK-8080293 Reviewed-by: aph, kvn
author adinn
date Wed, 07 Oct 2015 06:56:58 -0400
parents 324ea1a2419a
children 017224c13b0e f4f0e306133e 09fb2c936faa
files src/cpu/aarch64/vm/aarch64.ad
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/aarch64.ad	Mon Oct 05 20:02:40 2015 -0700
+++ b/src/cpu/aarch64/vm/aarch64.ad	Wed Oct 07 06:56:58 2015 -0400
@@ -2556,7 +2556,7 @@
     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;
     }
   }