8172145: C2: anti dependence missed because store hidden by membar
authormdoerr
Tue, 03 Jan 2017 11:22:37 +0100
changeset 43419 a62a0cc7f41a
parent 43418 1219e26448f1
child 43420 a056d6465ef9
8172145: C2: anti dependence missed because store hidden by membar Reviewed-by: kvn
hotspot/src/share/vm/adlc/formssel.cpp
--- a/hotspot/src/share/vm/adlc/formssel.cpp	Tue Jan 03 12:25:19 2017 +0100
+++ b/hotspot/src/share/vm/adlc/formssel.cpp	Tue Jan 03 11:22:37 2017 +0100
@@ -650,6 +650,7 @@
   if( strcmp(_matrule->_opType,"MemBarReleaseLock") == 0 ) return true;
   if( strcmp(_matrule->_opType,"MemBarAcquireLock") == 0 ) return true;
   if( strcmp(_matrule->_opType,"MemBarStoreStore") == 0 ) return true;
+  if( strcmp(_matrule->_opType,"MemBarVolatile") == 0 ) return true;
   if( strcmp(_matrule->_opType,"StoreFence") == 0 ) return true;
   if( strcmp(_matrule->_opType,"LoadFence") == 0 ) return true;