8304144: G1: Remove unnecessary is_survivor check in G1ClearCardTableTask
Reviewed-by: tschatzl, ysr
This commit is contained in:
parent
eda0065107
commit
ca94287d2b
@ -253,9 +253,7 @@ private:
|
||||
|
||||
for (uint i = next; i < max; i++) {
|
||||
HeapRegion* r = _g1h->region_at(_regions->at(i));
|
||||
if (!r->is_survivor()) {
|
||||
r->clear_cardtable();
|
||||
}
|
||||
r->clear_cardtable();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user