--- old/src/hotspot/share/memory/filemap.cpp 2020-02-14 15:55:28.286568499 +0100 +++ new/src/hotspot/share/memory/filemap.cpp 2020-02-14 15:55:28.066564797 +0100 @@ -1747,7 +1747,10 @@ 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 = NEW_C_HEAP_ARRAY(MemRegion, max, mtInternal); + for (int i = 0; i < max; i++) { + ::new (®ions[i]) MemRegion(); + } FileMapRegion* si; int region_num = 0;