--- a/src/hotspot/share/gc/g1/g1Allocator.cpp Thu Dec 06 13:55:22 2018 +0100
+++ b/src/hotspot/share/gc/g1/g1Allocator.cpp Thu Dec 06 13:55:22 2018 +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());