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 192918 - Class not selected when showing in HeapWalker
Summary: Class not selected when showing in HeapWalker
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 13:24 UTC by Jiri Sedlacek
Modified: 2012-06-05 06:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2010-12-06 13:24:06 UTC
Steps:

 1/ Take a HeapDump, switch to Classes view, filter the classes (like "String")
 2/ Switch to Summary view, compute objects by retained size
 3/ Click a class that doesn't match the filter (like "class java.lang.System")

Classes view is now displayed but the class to be shown is not selected.
Comment 1 J Bachorik 2011-10-06 16:33:25 UTC
Due to data races a class was not selected in the heapwalker if the previous class filter didn't match the class being selected.

Introducing external synchronization for the process of updating class list model and selecting a class in that model.

http://hg.netbeans.org/profiler-main/rev/24f8eab68674
Comment 2 Quality Engineering 2011-10-10 12:29:45 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/24f8eab68674
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #192918: Due to data races a class was not selected in the heapwalker if the previous class filter didn't match the class being selected. Fixed the data race.
Comment 3 Tomas Hurka 2012-03-28 13:43:14 UTC
The fix was rolled back, since it causes a lot of regressions.

changeset:   216604:193c453e0c8a
user:        Tomas Hurka <thurka@netbeans.org>
date:        Wed Mar 28 15:39:40 2012 +0200
summary:     rollback fix for issue #192918 and additional fixes caused by fix of #192918
Comment 4 Quality Engineering 2012-04-02 16:00:11 UTC
Integrated into 'main-golden', will be available in build *201204021038* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/193c453e0c8a
User: Tomas Hurka <thurka@netbeans.org>
Log: rollback fix for issue #192918 and additional fixes caused by fix of #192918
Comment 5 Jiri Sedlacek 2012-05-25 13:28:20 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/4347c87310de.
Comment 6 Quality Engineering 2012-06-05 06:06:47 UTC
Integrated into 'main-golden', will be available in build *201206050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4347c87310de
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #192918 - reset filter for not matching selection