hotspot/src/share/vm/opto/graphKit.cpp
changeset 31369 0c3dcc865a1c
parent 31041 7d59fa6a48f1
child 32596 8feecdee3156
--- a/hotspot/src/share/vm/opto/graphKit.cpp	Fri Jun 19 09:41:49 2015 +0200
+++ b/hotspot/src/share/vm/opto/graphKit.cpp	Fri Jun 19 09:41:50 2015 +0200
@@ -3803,6 +3803,11 @@
   Node*   zero = __ ConI(0); // Dirty card value
   BasicType bt = T_BYTE;
 
+  if (UseConcMarkSweepGC && UseCondCardMark) {
+    insert_mem_bar(Op_MemBarVolatile);   // StoreLoad barrier
+    __ sync_kit(this);
+  }
+
   if (UseCondCardMark) {
     // The classic GC reference write barrier is typically implemented
     // as a store into the global card mark table.  Unfortunately