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.
JDK 1.6, Profiler trunk, NB trunk, Java2Demo project: 1/ Set java2d.demos.Colors.Rotator3D.step(int, int) and java2d.demos.Colors.Rotator3D.render(int, int, java.awt.Graphics2D) as root methods 2/ Started CPU part of app, profile all classes, switched to Colors tab in started Java2Demo app, opened Live Results, kept running for a while 3/ Taken snapshot, Rotator3D.step and Rotator3D.render are present several times in AWT-EventQueue-0 thread with exactly the same calltrees, which looks like a bug
Created attachment 41162 [details] CPU snapshot showing the problem
Profiler 1.2 070717 Product Version: NetBeans IDE Dev (Build 200707171200) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) Reproduced during Test Specification Editor (http://qa.netbeans.org/test-specs.html) profiling with default Analyze Performance options both on WinXP and Solaris 10. Profiled application was run on JDK 5 and JDK 6. Snapshots were obtained during profiling and after the application was stopped. In all cases there are many duplicate Call Tree entries in the snapshots.
Created attachment 45436 [details] Snapshot with duplicate Call Tree entries
this is caused by those method belonging to different categories. and categories are internally represented as nodes in the CC Tree thus causing those methods being displayed several times. i'm going to fix the snapshot display logic to handle the categories correctly - for now just omitting the categories and aggregating the methods from different categories should be enough
fixed