< prev index next >
src/hotspot/share/gc/z/zRelocationSetSelector.cpp
Print this page
@@ -95,10 +95,15 @@
_sorted_pages[finger] = page;
}
}
void ZRelocationSetSelectorGroup::select() {
+ if (_page_size == 0) {
+ // Page type disabled
+ return;
+ }
+
// Calculate the number of pages to relocate by successively including pages in
// a candidate relocation set and calculate the maximum space requirement for
// their live objects.
const size_t npages = _registered_pages.size();
size_t selected_from = 0;
< prev index next >