review(S): 7124829: NUMA: memory leak on Linux with large pages

Igor Veresov igor.veresov at oracle.com
Sat Dec 24 08:21:02 UTC 2011


The issue is with os::free_memory() changes made in 7060842 when the “madvise” call was replaced with “mmap”. This is the reason of exhaustive memory consumption. Seems when we need to remap some memory we need to do it using the same flags as we mapped it initially, particularly with “MAP_HUGETLB”. Otherwise system maps small pages instead of already reserved huge pages.

Contributed by: Aleksey Ignatenko <aleksey.v.ignatenko at intel.com>  

Webrev: http://cr.openjdk.java.net/~iveresov/7124829/webrev.00/

igor

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20111224/57c37b9e/attachment.htm>


More information about the hotspot-gc-dev mailing list