mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8280000: Remove unused CardTable::find_covering_region_containing
Reviewed-by: tschatzl, sjohanss
This commit is contained in:
parent
84976b4531
commit
dd76a28d44
2 changed files with 0 additions and 14 deletions
|
@ -162,16 +162,6 @@ int CardTable::find_covering_region_by_base(HeapWord* base) {
|
|||
return res;
|
||||
}
|
||||
|
||||
int CardTable::find_covering_region_containing(HeapWord* addr) {
|
||||
for (int i = 0; i < _cur_covered_regions; i++) {
|
||||
if (_covered[i].contains(addr)) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
assert(0, "address outside of heap?");
|
||||
return -1;
|
||||
}
|
||||
|
||||
HeapWord* CardTable::largest_prev_committed_end(int ind) const {
|
||||
HeapWord* max_end = NULL;
|
||||
for (int j = 0; j < ind; j++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue