--- old/src/hotspot/share/gc/g1/g1BiasedArray.hpp 2020-08-19 22:47:00.740602618 +0200 +++ new/src/hotspot/share/gc/g1/g1BiasedArray.hpp 2020-08-19 22:47:00.604600658 +0200 @@ -192,10 +192,9 @@ public: G1BiasedMappedArray() {} - // Allocate and initialize this array to cover the heap addresses in the range - // of [bottom, end). - void initialize(HeapWord* bottom, HeapWord* end, size_t mapping_granularity) { - G1BiasedMappedArrayBase::initialize(bottom, end, sizeof(T), mapping_granularity); + // Allocate and initialize this array to cover the heap addresses in the given MemRegion. + void initialize(MemRegion region, size_t mapping_granularity) { + G1BiasedMappedArrayBase::initialize(region.start(), region.end(), sizeof(T), mapping_granularity); this->clear(); } };