8166898: G1SATBCardTableLoggingModRefBS::invalidate() incorrect with whole_heap == true

Reviewed-by: tschatzl, kbarrett
This commit is contained in:
Leonid Mesnik 2016-11-24 16:48:22 +03:00
parent 06bd79afed
commit 9a28eb0745
6 changed files with 32 additions and 41 deletions

View file

@ -380,7 +380,7 @@ void CardTableModRefBS::dirty_MemRegion(MemRegion mr) {
}
}
void CardTableModRefBS::invalidate(MemRegion mr, bool whole_heap) {
void CardTableModRefBS::invalidate(MemRegion mr) {
assert((HeapWord*)align_size_down((uintptr_t)mr.start(), HeapWordSize) == mr.start(), "Unaligned start");
assert((HeapWord*)align_size_up ((uintptr_t)mr.end(), HeapWordSize) == mr.end(), "Unaligned end" );
for (int i = 0; i < _cur_covered_regions; i++) {