src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp

changeset 7257
e7d0505c8a30
parent 7236
d3fd73295885
child 7285
1d6eb209432a
child 7476
c2844108a708
equal deleted inserted replaced
7256:0fcaab91d485 7257:e7d0505c8a30
383 383
384 void G1RegionMappingChangedListener::reset_from_card_cache(uint start_idx, size_t num_regions) { 384 void G1RegionMappingChangedListener::reset_from_card_cache(uint start_idx, size_t num_regions) {
385 OtherRegionsTable::invalidate(start_idx, num_regions); 385 OtherRegionsTable::invalidate(start_idx, num_regions);
386 } 386 }
387 387
388 void G1RegionMappingChangedListener::on_commit(uint start_idx, size_t num_regions) { 388 void G1RegionMappingChangedListener::on_commit(uint start_idx, size_t num_regions, bool zero_filled) {
389 // The from card cache is not the memory that is actually committed. So we cannot
390 // take advantage of the zero_filled parameter.
389 reset_from_card_cache(start_idx, num_regions); 391 reset_from_card_cache(start_idx, num_regions);
390 } 392 }
391 393
392 void G1CollectedHeap::push_dirty_cards_region(HeapRegion* hr) 394 void G1CollectedHeap::push_dirty_cards_region(HeapRegion* hr)
393 { 395 {

mercurial