hotspot/src/share/vm/gc/g1/g1EvacFailure.cpp
changeset 46752 a2b799e3f0be
parent 46634 f0fb6b3c47d2
--- a/hotspot/src/share/vm/gc/g1/g1EvacFailure.cpp	Fri Aug 04 14:24:11 2017 +0200
+++ b/hotspot/src/share/vm/gc/g1/g1EvacFailure.cpp	Fri Aug 04 14:28:57 2017 +0200
@@ -124,7 +124,7 @@
         // 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();