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 205942

Summary: Display of Profiling Snapshot omits threads with identical name
Product: profiler Reporter: mklaehn <mklaehn>
Component: BaseAssignee: Jiri Sedlacek <jis>
Status: RESOLVED FIXED    
Severity: normal Keywords: REGRESSION
Priority: P2    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: working display of profiling snapshot
failing display of profiling snapshot
problematic snapshot

Description mklaehn 2011-12-05 14:53:02 UTC
Created attachment 113824 [details]
working display of profiling snapshot

Opening a profiling snapshot in one of the most recent builds does not display it correctly. I have a snapshot that has multiple threads with identical names and only one of them is displayed. The "duplicate" threads are inaccessible in the displayed TreeTable.

For visual input see the attached snapshots from the following builds:
failing: nbms-and-javadoc-8358-on-20111202
working: nbms-and-javadoc-8113-on-20111019
Comment 1 mklaehn 2011-12-05 14:53:24 UTC
Created attachment 113825 [details]
failing display of profiling snapshot
Comment 2 Jiri Sedlacek 2011-12-05 14:57:26 UTC
Could you please attach the snapshot (.nps file)? Thanks!
Comment 3 Jiri Sedlacek 2011-12-05 14:58:48 UTC
Fortunately not in 7.1, changing version to 7.2.
Comment 4 mklaehn 2011-12-05 15:03:14 UTC
Created attachment 113826 [details]
problematic snapshot

the snapshot in question
Comment 5 Jiri Sedlacek 2011-12-09 14:34:34 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/9384e07c63fa.
Comment 6 Quality Engineering 2011-12-17 16:46:44 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/9384e07c63fa
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #205942 - do not override equals/hashcode for thread nodes