United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7042285 G1: native memory leak during humongous object allocation
JDK-7042285 : G1: native memory leak during humongous object allocation

Details
Type:
Bug
Submit Date:
2011-05-05
Status:
Closed
Updated Date:
2011-11-25
Project Name:
JDK
Resolved Date:
2011-09-30
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs20
Fixed Versions:
hs22 (b01)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
There's a native memory leak in G1 during excessive humongous object allocation.

                                    

Comments
EVALUATION

See Comment #5.
                                     
2011-05-10
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.
                                     
2011-05-10
SUGGESTED FIX

I went with fix (a) (see Comment #5).
                                     
2011-05-11
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/c3f1170908be
                                     
2011-06-10
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/c3f1170908be
                                     
2011-07-08
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/c3f1170908be
                                     
2011-07-08



Hardware and Software, Engineered to Work Together