United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6311411 SA: jmap -histo reports wrong histogram with CMS
JDK-6311411 : SA: jmap -histo reports wrong histogram with CMS

Details
Type:
Bug
Submit Date:
2005-08-16
Status:
Resolved
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2007-01-25
Component:
core-svc
OS:
solaris
Sub-Component:
tools
CPU:
sparc
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0u4
Fixed Versions:
5.0u12 (b01)

Related Reports
Backport:
Backport:

Sub Tasks

Description
jmap -histo reports wrong histogram with CMS. It misses portion of heap graph in histogram computation when used with CMS. More details are in "Comments" section.

                                    

Comments
EVALUATION

Walking freechunks when VM is not necessarily at safepoint (therefore we may be walking non-parseable heap) could be the root cause. We will have evaluate whether we can account for such freechunks/objects in some way. May be, histogram may print "X" bytes of allocated but unknown Java objects.
                                     
2006-06-08
EVALUATION

Webrev of the fix:
http://jpsesvr.sfbay.sun.com:8080/ctetools/html/ViewDetail.jsp?index=2023
                                     
2007-01-17



Hardware and Software, Engineered to Work Together