--- old/src/share/vm/gc/g1/g1EvacFailure.cpp 2017-07-14 14:16:13.645153115 +0200 +++ new/src/share/vm/gc/g1/g1EvacFailure.cpp 2017-07-14 14:16:13.547150128 +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();