changeset 33090:141ffb78d088

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 f4e956ed8b43
children 275888dd277e 841ec4c08d57 f4e6c593ba73
files hotspot/src/cpu/aarch64/vm/aarch64.ad
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/cpu/aarch64/vm/aarch64.ad	Mon Oct 05 20:02:40 2015 -0700
+++ b/hotspot/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;
     }
   }