JDK-7124829 : NUMA: memory leak on Linux with large pages
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs23
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2011-12-24
  • Updated: 2012-03-29
  • Resolved: 2012-03-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 Other
7u4Fixed 8Fixed hs23Fixed
Related Reports
Relates :  
Description
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 4k pages instead of already reserved huge pages.

Comments
EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/20bfb6d15a94
22-03-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/20bfb6d15a94
28-12-2011

EVALUATION See description.
24-12-2011