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.
Display statistics and details about classes loaded by the target VM (number of classes loaded/gcd). Jconsole can do this.
Misha, can this be done for 1.0 on the engine side (i.e. have loaded classes part of MonitoredData)?
Need to see how this is done in JConsole. As far as I know, there is no API call such as "GetNumberOfLoadedClasses()" in JVMTI. There is a "GetAllLoadedClasses()" call, but it's obviously too expensive to be called by monitoring. Another method is to track every class load and class unload event (which is probably what OptimizeIt etc. is doing), but that's not much fun. I suspect JConsole is obtaining this info from the special shared-memory file into which the VM periodically writes various info including the number of loaded classes. This will be the best mechanism for us (we can get other statistics from there as well), but I need to see if we can (easily enough) utilize this stuff.
Suggest to move beyond 1.0
Number of loaded class was added to telemetry view.