United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6810861 G1: support -XX:+{PrintClassHistogram,HeapDump}{Before,After}FullGC
JDK-6810861 : G1: support -XX:+{PrintClassHistogram,HeapDump}{Before,After}FullGC

Details
Type:
Bug
Submit Date:
2009-02-26
Status:
Closed
Updated Date:
2011-11-28
Project Name:
JDK
Resolved Date:
2011-11-28
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs15
Fixed Versions:
hs22 (b04)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
Desirable for serviceability, but not essential at the moment. Original CR still awaits CCC approval.

                                    

Comments
SUGGESTED FIX

Pretty small effort since G1 already supports both heap dumps and
class histograms:-

Just call the appropriate CollectedHeap:: api at the appropriate points
before and following a full gc.
                                     
2009-02-26
EVALUATION

Yes.
                                     
2009-03-02
SUGGESTED FIX

webrev:-

http://javaweb.sfbay.sun.com/~ysr/neeraja/export/ysr/control_reference/hotspot/webrev/
                                     
2011-08-20
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/7f776886a215
                                     
2011-08-23
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/7f776886a215
                                     
2011-08-26
EVALUATION

See main CR
                                     
2011-09-12



Hardware and Software, Engineered to Work Together