8223336: Assert in VirtualMemoryTracker::remove_released_region when running the SharedArchiveConsistency.java test with -XX:NativeMemoryTracking=detail
Added the missing call MemTracker::record_virtual_memory_reserve_and_commit() Reviewed-by: jiangli, zgu
This commit is contained in:
parent
e36693bc29
commit
561c9182e8
@ -4910,6 +4910,9 @@ char* os::pd_map_memory(int fd, const char* file_name, size_t file_offset,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Record virtual memory allocation
|
||||
MemTracker::record_virtual_memory_reserve_and_commit((address)addr, bytes, CALLER_PC);
|
||||
|
||||
DWORD bytes_read;
|
||||
OVERLAPPED overlapped;
|
||||
overlapped.Offset = (DWORD)file_offset;
|
||||
|
@ -81,7 +81,6 @@ gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java 8193639 solaris-all
|
||||
|
||||
runtime/SharedArchiveFile/SASymbolTableTest.java 8193639 solaris-all
|
||||
runtime/jni/terminatedThread/TestTerminatedThread.java 8219652 aix-ppc64
|
||||
runtime/appcds/SharedArchiveConsistency.java 8223336 windows-all
|
||||
|
||||
#############################################################################
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user