diff -r 784f3f2dea14 -r 9ae8719efcae src/hotspot/share/gc/g1/g1EvacFailure.cpp --- a/src/hotspot/share/gc/g1/g1EvacFailure.cpp Mon Mar 26 16:51:43 2018 +0200 +++ b/src/hotspot/share/gc/g1/g1EvacFailure.cpp Mon Mar 26 16:51:43 2018 +0200 @@ -126,7 +126,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->mark_in_next_bitmap(_hr, obj); + _cm->mark_in_next_bitmap(_worker_id, obj); } size_t obj_size = obj->size();