--- old/src/hotspot/share/memory/filemap.cpp 2020-02-14 18:02:45.135705389 +0100 +++ new/src/hotspot/share/memory/filemap.cpp 2020-02-14 18:02:44.931702555 +0100 @@ -1747,7 +1747,7 @@ bool FileMapInfo::map_heap_data(MemRegion **heap_mem, int first, int max, int* num, bool is_open_archive) { - MemRegion * regions = new MemRegion[max]; + MemRegion* regions = MemRegion::create(max, mtInternal); FileMapRegion* si; int region_num = 0;