< prev index next >

src/share/vm/gc/g1/g1HeapVerifier.cpp

Print this page
rev 11545 : [mq]: 8159978-collection-set-as-array
rev 11546 : [mq]: 8159978-erikh-review

@@ -589,17 +589,13 @@
     _verifier->verify_dirty_region(r);
     return false;
   }
 };
 
-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,
                                                HeapWord* tams, HeapWord* end) {
   guarantee(tams <= end,
< prev index next >