--- old/src/share/vm/gc_implementation/g1/heapRegion.cpp 2014-06-24 14:02:54.779351432 +0200 +++ new/src/share/vm/gc_implementation/g1/heapRegion.cpp 2014-06-24 14:02:54.687347773 +0200 @@ -393,17 +393,6 @@ return NULL; } -void HeapRegion::oops_in_mr_iterate(MemRegion mr, ExtendedOopClosure* cl) { - HeapWord* p = mr.start(); - HeapWord* e = mr.end(); - oop obj; - while (p < e) { - obj = oop(p); - p += obj->oop_iterate(cl); - } - assert(p == e, "bad memregion: doesn't end on obj boundary"); -} - void HeapRegion::note_self_forwarding_removal_start(bool during_initial_mark, bool during_conc_mark) { // We always recreate the prev marking info and we'll explicitly