7124829: NUMA: memory leak on Linux with large pages

In os::free_memory() use mmap with the same attributes as for the heap space

Reviewed-by: kvn
This commit is contained in:
Aleksey Ignatenko 2011-12-27 16:43:49 -08:00 committed by Igor Veresov
parent 3c164a7525
commit c7ec06ba8e
7 changed files with 10 additions and 10 deletions

View file

@ -3130,7 +3130,7 @@ bool os::unguard_memory(char* addr, size_t bytes) {
}
void os::realign_memory(char *addr, size_t bytes, size_t alignment_hint) { }
void os::free_memory(char *addr, size_t bytes) { }
void os::free_memory(char *addr, size_t bytes, size_t alignment_hint) { }
void os::numa_make_global(char *addr, size_t bytes) { }
void os::numa_make_local(char *addr, size_t bytes, int lgrp_hint) { }
bool os::numa_topology_changed() { return false; }