--- old/src/share/vm/gc_implementation/g1/concurrentMark.cpp 2011-12-20 09:18:42.405866649 -0800 +++ new/src/share/vm/gc_implementation/g1/concurrentMark.cpp 2011-12-20 09:18:42.184916185 -0800 @@ -103,17 +103,6 @@ return (int) (diff >> _shifter); } -bool CMBitMapRO::iterate(BitMapClosure* cl, MemRegion mr) { - HeapWord* left = MAX2(_bmStartWord, mr.start()); - HeapWord* right = MIN2(_bmStartWord + _bmWordSize, mr.end()); - if (right > left) { - // Right-open interval [leftOffset, rightOffset). - return _bm.iterate(cl, heapWordToOffset(left), heapWordToOffset(right)); - } else { - return true; - } -} - void CMBitMapRO::mostly_disjoint_range_union(BitMap* from_bitmap, size_t from_start_index, HeapWord* to_start_word,