8256181: Remove Allocation of old generation on alternate memory devices functionality

Reviewed-by: ayang, iignatyev, iklam
This commit is contained in:
Thomas Schatzl 2020-11-12 14:05:50 +00:00
parent 4df8abc200
commit bd8693a084
50 changed files with 132 additions and 2311 deletions

View file

@ -287,21 +287,6 @@ void FreeRegionList::remove_starting_at(HeapRegion* first, uint num_regions) {
verify_optional();
}
uint FreeRegionList::num_of_regions_in_range(uint start, uint end) const {
HeapRegion* cur = _head;
uint num = 0;
while (cur != NULL) {
uint index = cur->hrm_index();
if (index > end) {
break;
} else if (index >= start) {
num++;
}
cur = cur->next();
}
return num;
}
void FreeRegionList::verify() {
// See comment in HeapRegionSetBase::verify() about MT safety and
// verification.