src/hotspot/share/c1/c1_LIRGenerator.cpp
changeset 49746 b17256b5c047
parent 49455 848864ed9b17
child 49752 93d84f667d12
--- a/src/hotspot/share/c1/c1_LIRGenerator.cpp	Wed Apr 11 13:51:33 2018 +0200
+++ b/src/hotspot/share/c1/c1_LIRGenerator.cpp	Wed Apr 11 13:52:23 2018 +0200
@@ -1659,9 +1659,11 @@
     __ move(dirty, card_addr);
     __ branch_destination(L_already_dirty->label());
   } else {
+#if INCLUDE_ALL_GCS
     if (UseConcMarkSweepGC && CMSPrecleaningEnabled) {
       __ membar_storestore();
     }
+#endif
     __ move(dirty, card_addr);
   }
 #endif