--- old/src/hotspot/share/gc/g1/g1Allocator.cpp 2018-11-29 10:43:17.639082236 +0100 +++ new/src/hotspot/share/gc/g1/g1Allocator.cpp 2018-11-29 10:43:17.208092719 +0100 @@ -84,8 +84,6 @@ // we allocate to in the region sets. We'll re-add it later, when // it's retired again. _g1h->old_set_remove(retained_region); - bool during_im = _g1h->collector_state()->in_initial_mark_gc(); - retained_region->note_start_of_copying(during_im); old->set(retained_region); _g1h->hr_printer()->reuse(retained_region); evacuation_info.set_alloc_regions_used_before(retained_region->used());