< prev index next >

src/share/vm/gc/g1/g1EvacFailure.cpp

Print this page
rev 13261 : imported patch 8184348-merge-par_mark-and_gray_root

@@ -122,11 +122,11 @@
         // still pointed to be roots. During concurrent marking, and
         // after initial-mark, we don't need to mark any objects
         // explicitly and all objects in the CSet are considered
         // (implicitly) live. So, we won't mark them explicitly and
         // we'll leave them over NTAMS.
-        _cm->grayRoot(obj, _hr);
+        _cm->mark_in_next_bitmap(_hr, obj);
       }
       size_t obj_size = obj->size();
 
       _marked_bytes += (obj_size * HeapWordSize);
       PreservedMarks::init_forwarded_mark(obj);
< prev index next >