--- old/src/hotspot/share/gc/g1/g1YoungRemSetSamplingThread.cpp 2018-02-07 10:49:17.975883455 +0100 +++ new/src/hotspot/share/gc/g1/g1YoungRemSetSamplingThread.cpp 2018-02-07 10:49:17.521869639 +0100 @@ -79,7 +79,7 @@ G1YoungRemSetSamplingClosure(SuspendibleThreadSetJoiner* sts) : HeapRegionClosure(), _sts(sts), _regions_visited(0), _sampled_rs_lengths(0) { } - virtual bool doHeapRegion(HeapRegion* r) { + virtual bool do_heap_region(HeapRegion* r) { size_t rs_length = r->rem_set()->occupied(); _sampled_rs_lengths += rs_length; @@ -114,7 +114,7 @@ G1CollectionSet* g1cs = g1h->collection_set(); g1cs->iterate(&cl); - if (cl.complete()) { + if (cl.is_complete()) { g1p->revise_young_list_target_length_if_necessary(cl.sampled_rs_lengths()); } }