--- old/src/share/vm/gc/g1/g1HeapVerifier.cpp 2016-06-28 14:13:06.570470791 +0200 +++ new/src/share/vm/gc/g1/g1HeapVerifier.cpp 2016-06-28 14:13:06.471467809 +0200 @@ -591,13 +591,9 @@ } }; -void G1HeapVerifier::verify_dirty_young_list(G1CollectionSet* collection_set) { - G1VerifyDirtyYoungListClosure cl(this); - collection_set->iterate(&cl); -} - void G1HeapVerifier::verify_dirty_young_regions() { - verify_dirty_young_list(_g1h->collection_set()); + G1VerifyDirtyYoungListClosure cl(this); + _g1h->collection_set()->iterate(&cl); } bool G1HeapVerifier::verify_no_bits_over_tams(const char* bitmap_name, G1CMBitMapRO* bitmap,