JDK-6810861 : G1: support -XX:+{PrintClassHistogram,HeapDump}{Before,After}FullGC
Type:Bug
Component:hotspot
Sub-Component:gc
Affected Version:hs15
Priority:P4
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2009-02-26
Updated:2013-09-18
Resolved:2011-11-28
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
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.