Commit dd76a28 1 parent 84976b4 commit dd76a28 Copy full SHA for dd76a28
File tree 2 files changed +0
-14
lines changed
src/hotspot/share/gc/shared
2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -162,16 +162,6 @@ int CardTable::find_covering_region_by_base(HeapWord* base) {
162
162
return res;
163
163
}
164
164
165
- int CardTable::find_covering_region_containing (HeapWord* addr) {
166
- for (int i = 0 ; i < _cur_covered_regions; i++) {
167
- if (_covered[i].contains (addr)) {
168
- return i;
169
- }
170
- }
171
- assert (0 , " address outside of heap?" );
172
- return -1 ;
173
- }
174
-
175
165
HeapWord* CardTable::largest_prev_committed_end (int ind) const {
176
166
HeapWord* max_end = NULL ;
177
167
for (int j = 0 ; j < ind; j++) {
Original file line number Diff line number Diff line change @@ -78,10 +78,6 @@ class CardTable: public CHeapObj<mtGC> {
78
78
// covered regions defined in the constructor are ever in use.
79
79
int find_covering_region_by_base (HeapWord* base);
80
80
81
- // Same as above, but finds the region containing the given address
82
- // instead of starting at a given base address.
83
- int find_covering_region_containing (HeapWord* addr);
84
-
85
81
// Returns the leftmost end of a committed region corresponding to a
86
82
// covered region before covered region "ind", or else "NULL" if "ind" is
87
83
// the first covered region.
You can’t perform that action at this time.
0 commit comments