src/hotspot/share/gc/g1/g1Allocator.cpp
changeset 49643 a3453bbd5418
parent 49635 e79bbf1635da
child 49713 456e51e56ea2
--- a/src/hotspot/share/gc/g1/g1Allocator.cpp	Thu Mar 29 12:56:06 2018 +0200
+++ b/src/hotspot/share/gc/g1/g1Allocator.cpp	Thu Mar 29 14:07:59 2018 +0200
@@ -79,7 +79,7 @@
     // 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()->during_initial_mark_pause();
+    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);