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.
As reported by Jess Hole: Specifically, I get results and everything seems to work beautifully *except* my results don't make complete sense. The results show methods directly under other methods which are not their direct parents. I'm seeing enough of this that the results are all but useless in many cases. I do have '-server' specified -- but I did with the instrumented 1.4.2_04 as well.
Self assign for M8
More details from Jess: I am *guessing* that this should be easy to reproduce ala: "In 1.5.0_04 and milestone 7 I was trying to profile some JMX code I wrote. The results shows javax.management.StandardMBean.setImplementation (Object implementation,Class mbeanInterface) as a hotspot -- as I expected. Unfortunately, it shows many things directly under this method that are not directly called from this method. This makes it impossible for me to tell what's really going on -- and to trust the results thus far..." For a bit more specifics, basically what I did was subclassed StandardMBean and specified the constructor as a root method. I then created an instance of this standard MBean per servlet request in Tomcat. [Yes, I'm pushing for some fixes in StandardMBean based on this and subsequent nanoTime()-based metrics -- both to setImplementation and to getAttribute().]
After more analysis, this seems to occur only under some special circumstances, lowering the priority to P2 to reflect this.
This should no longer happen in M10
Verification of old issues.
Closing old issues.