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 241878 - [Instances view] Selection does not change when retained size is over 254
Summary: [Instances view] Selection does not change when retained size is over 254
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.0
Hardware: PC All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords: VISUALVM
Depends on:
Blocks:
 
Reported: 2014-02-14 13:25 UTC by Jiri Skrivanek
Modified: 2014-02-17 12:20 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 Skrivanek 2014-02-14 13:25:33 UTC
Selection does not change for java.lang.String instances in heap walker when retained size is over 254. To reproduce:

- create Anagram sample project
- right-click project node and choose Profile
- select CPU -> Advanced -> Only project classes and click Run
- click Dump Heap when application is ready and open it
- right-click java.lang.String and choose Show in Instances View. 
- click "Compute Retained Sizes" and confirm calculation
- sort instances by retained size
- click some instance with retained size equals or bigger than 254 but values in other views are not refreshed

Product Version: NetBeans IDE Dev (Build 201402140001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b129
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 1 Jiri Sedlacek 2014-02-14 15:58:26 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/f497eab8b5b4.
Comment 2 Jiri Sedlacek 2014-02-14 16:20:10 UTC
Also affects the new ProfilerTable, fixed: http://hg.netbeans.org/profiler-main/rev/43436fd88c4a.
Comment 3 Quality Engineering 2014-02-17 09:03:17 UTC
Integrated into 'main-silver', will be available in build *201402170649* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f497eab8b5b4
User: Jiri Sedlacek <jis@netbeans.org>
Log: #241878 - make sure mouseReleased is delivered after closing heavyweight cell tip