mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8075288: malloc without free in VM_PopulateDumpSharedSpace::doit()
Reviewed-by: dholmes, stuefe
This commit is contained in:
parent
5cf176b870
commit
c0fcbe951e
1 changed files with 1 additions and 0 deletions
|
@ -649,6 +649,7 @@ void VM_PopulateDumpSharedSpace::doit() {
|
||||||
mapinfo->close();
|
mapinfo->close();
|
||||||
|
|
||||||
memmove(vtbl_list, saved_vtbl, vtbl_list_size * sizeof(void*));
|
memmove(vtbl_list, saved_vtbl, vtbl_list_size * sizeof(void*));
|
||||||
|
os::free(saved_vtbl);
|
||||||
|
|
||||||
if (PrintSharedSpaces) {
|
if (PrintSharedSpaces) {
|
||||||
DumpAllocClosure dac;
|
DumpAllocClosure dac;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue