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.
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.
After a conversation with Alan Bateman, it appears that this functionality can be implemented using JVMTI calls and in a portable way.
Milestone cleanup: future->next
Already available.