< prev index next >

src/cpu/x86/vm/c1_Runtime1_x86.cpp

Print this page

        

@@ -1662,10 +1662,14 @@
       }
       break;
 
     case g1_post_barrier_slow_id:
       {
+        // avoid touching CardTableModRefBS if not G1
+        // FIXME: This looks like an upstream bug.
+        if (!UseG1GC) break;
+
         StubFrame f(sasm, "g1_post_barrier", dont_gc_arguments);
 
 
         // arg0: store_address
         Address store_addr(rbp, 2*BytesPerWord);
< prev index next >