changeset 59149 | 3b998574be4b |
parent 54362 | 313e034d0bcb |
--- a/src/hotspot/share/gc/z/zRelocationSetSelector.cpp Wed Nov 20 10:37:46 2019 +0100 +++ b/src/hotspot/share/gc/z/zRelocationSetSelector.cpp Wed Nov 20 10:37:46 2019 +0100 @@ -97,6 +97,11 @@ } 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.