< prev index next >

src/hotspot/share/cds/aotStreamedHeapLoader.cpp

Print this page
*** 795,10 ***
--- 795,12 ---
      }
      Universe::vm_global()->release(&handles[num_null_handles], num_handles - num_null_handles);
    }
  
    FREE_C_HEAP_ARRAY(void*, _object_index_to_heap_object_table);
+   _object_index_to_heap_object_table = nullptr;
+   _roots_archive = nullptr;
  
    // Unmap regions
    FileMapInfo::current_info()->unmap_region(AOTMetaspace::hp);
    FileMapInfo::current_info()->unmap_region(AOTMetaspace::bm);
  
< prev index next >