mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8166898: G1SATBCardTableLoggingModRefBS::invalidate() incorrect with whole_heap == true
Reviewed-by: tschatzl, kbarrett
This commit is contained in:
parent
06bd79afed
commit
9a28eb0745
6 changed files with 32 additions and 41 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue