mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8238999: Remove MemRegion custom new/delete operator overloads
Reviewed-by: kbarrett, jiangli, iklam
This commit is contained in:
parent
301a2e19c3
commit
28c630046e
5 changed files with 18 additions and 48 deletions
|
@ -1747,7 +1747,7 @@ void FileMapInfo::map_heap_regions() {
|
|||
|
||||
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_array(max, mtInternal);
|
||||
FileMapRegion* si;
|
||||
int region_num = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue