1.1 --- a/src/share/vm/gc_implementation/g1/concurrentMark.cpp Fri Oct 10 15:45:45 2014 +0200 1.2 +++ b/src/share/vm/gc_implementation/g1/concurrentMark.cpp Fri Oct 10 15:51:58 2014 +0200 1.3 @@ -130,7 +130,10 @@ 1.4 storage->set_mapping_changed_listener(&_listener); 1.5 } 1.6 1.7 -void CMBitMapMappingChangedListener::on_commit(uint start_region, size_t num_regions) { 1.8 +void CMBitMapMappingChangedListener::on_commit(uint start_region, size_t num_regions, bool zero_filled) { 1.9 + if (zero_filled) { 1.10 + return; 1.11 + } 1.12 // We need to clear the bitmap on commit, removing any existing information. 1.13 MemRegion mr(G1CollectedHeap::heap()->bottom_addr_for_region(start_region), num_regions * HeapRegion::GrainWords); 1.14 _bm->clearRange(mr);