JDK-7042285 : G1: native memory leak during humongous object allocation
Type:Bug
Component:hotspot
Sub-Component:gc
Affected Version:hs20
Priority:P4
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2011-05-05
Updated:2013-09-18
Resolved:2011-09-30
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.
SUGGESTED FIX
I went with fix (a) (see Comment #5).
11-05-2011
WORK AROUND
The test causes the heap to grow and shrink very aggressively and this is what uncovers the memory leak. The workaround is to use a fixed heap size which will eliminate the memory leak.