--- 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