--- old/src/hotspot/share/memory/memRegion.hpp 2020-02-14 18:02:39.535627602 +0100 +++ new/src/hotspot/share/memory/memRegion.hpp 2020-02-14 18:02:39.323624659 +0100 @@ -92,6 +92,9 @@ size_t word_size() const { return _word_size; } bool is_empty() const { return word_size() == 0; } + + // Creates and initializes an array of MemRegions of the given length. + static MemRegion* create(uint length, MEMFLAGS flags); }; // For iteration over MemRegion's.