This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 58252 - Add an object histogram feature, similar to jmap
Summary: Add an object histogram feature, similar to jmap
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-23 22:51 UTC by mishadmitriev
Modified: 2016-11-09 13:28 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mishadmitriev 2005-04-23 22:51:10 UTC
It would be useful to allow the user, esp. in the zero-overhead monitoring mode,
to hit a button and get (again in very short time) a histogram showing how much
memory is occupied by instances of each class. The jmap utility coming with JDK
1.5 provides this functionality. This does not allow any code instrumentation,
as the histogram is obtained by traversing the heap or a similar JVMTI mechanism.
Comment 1 mishadmitriev 2005-04-28 09:04:08 UTC
After a conversation with Alan Bateman, it appears that this functionality can
be implemented using JVMTI calls and in a portable way.
Comment 2 Tomas Hurka 2009-04-08 12:53:36 UTC
Milestone cleanup: future->next
Comment 3 Jiri Sedlacek 2016-11-09 13:28:09 UTC
Already available.