mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +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++) {
|
||||
|
|
|
@ -78,10 +78,6 @@ protected:
|
|||
// covered regions defined in the constructor are ever in use.
|
||||
int find_covering_region_by_base(HeapWord* base);
|
||||
|
||||
// Same as above, but finds the region containing the given address
|
||||
// instead of starting at a given base address.
|
||||
int find_covering_region_containing(HeapWord* addr);
|
||||
|
||||
// Returns the leftmost end of a committed region corresponding to a
|
||||
// covered region before covered region "ind", or else "NULL" if "ind" is
|
||||
// the first covered region.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue