JDK-5077748 : HPROF: RFE: Object age and ability to determine sort order (changes hprof output format)
  • Type: Enhancement
  • Component: tools
  • Sub-Component: hprof
  • Affected Version: 5.0
  • Priority: P5
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2004-07-23
  • Updated: 2006-12-08
  • Resolved: 2006-12-08
Related Reports
Relates :  
Description
NEWHPROF: RFE: Object age and ability to determine sort order

This doesn't have to go into hprof necessarily, but something that jfluid
does would be handy to try. Count the GC's with GC_FINISH event, and add
the current GC number to object creation, and/or create an average age 
of all objects allocated at a site. Then include this data in the summary.
In other words, provide some more help in finding leaks by providing more
data about the objects. Ideally, the tool could perhaps list the most likely
objects that could be leaks? Just a thought.

Also, probably worthwhile to allow different sorts of the data, it's
pretty fixed right now.

Now perhaps what should happen is that the output should be done in XML
or some basic table form, and some kind of viewing tool could be used to 
view that output, selecting the sort criteria after the collection.
Perhaps at runtime with the data sent down a socket or transport mechanism.

just ideas I didn't want to forget about.


###@###.### 2004-07-23

Comments
EVALUATION There are no immediate plans to fix or implement this, so it is being closed as 'will not fix'. If this bug or feature is critical for you or your team, please re-open it with some additional evaluation or comments so that we can either re-consider our position or justify it. For profiling Java applications, consider using the NetBeans Profiler from http://www.netbeans.org. For profiling Java & Native applications consider using the Analyzer tool in Sun Studio from http://developers.sun.com/prodtech/devtools.
08-12-2006

EVALUATION see description
01-09-2004