United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6824570 ParNew: Fix memory leak introduced in 6819891
JDK-6824570 : ParNew: Fix memory leak introduced in 6819891

Details
Type:
Bug
Submit Date:
2009-03-31
Status:
Closed
Updated Date:
2011-03-07
Project Name:
JDK
Resolved Date:
2011-03-07
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P1
Resolution:
Fixed
Affected Versions:
hs14
Fixed Versions:
hs14 (b14)

Related Reports
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
The fix for 6819891 inadvertently introduced a memory leak, in
the C-heap, of the order of 2KB*ParallelGCThreads per scavenge.
Over a period of time such a leak can run the JVM out of C-heap
memory and lead to availability issues in the field.

This bug should be fixed in hs14 where it was first introduced.
The bug affects the 64-bit compressed oops jvm using the ParNew
(or CMS) collector.

                                    

Comments
WORK AROUND

-XX:-UseParNewGC 

or

-XX:-UseCompressedOops
                                     
2009-03-31
EVALUATION

<ouch!>
                                     
2009-03-31
SUGGESTED FIX

The following fix (based on an hs15 jvm) is under test and will
be available for review:-

   file:///net/neeraja/export/ysr/coops/webrev/index.html
                                     
2009-03-31
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/becb17ad5e51
                                     
2009-04-03
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/becb17ad5e51
                                     
2009-04-04



Hardware and Software, Engineered to Work Together