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 112852 - [memorylint] "Too Many Booleans" section of Analysis issues
Summary: [memorylint] "Too Many Booleans" section of Analysis issues
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-15 09:49 UTC by Alexander Kouznetsov
Modified: 2007-09-21 15:58 UTC (History)
2 users (show)

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 Alexander Kouznetsov 2007-08-15 09:49:57 UTC
Product Version: NetBeans IDE Dev (Build 200708130000) 
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)

Steps to reproduce:
- Perfrom Analysis for the following heap dump:
http://www.netbeans.org/nonav/issues/showattachment.cgi/46649/heapdump-1187082174218.zip
- RESULT: "Too Many Booleans" section contains the following text:

         There are 9 Boolean instances wasting 112B
         unknown class: #:7/63B
         java.lang.Class: #:2/18B
         Total instance count: 9, size: 81

- It has only one link for java.lang.Class and it doesn't seem to have any sense. I suppose that link to
java.lang.Boolean is expected which opens Boolean instances list.
- All instances including Boolean.TRUE and Boolean.FALSE are shown as wasting
- Number of bytes 63B + 18B is less than 112B shown as wasting.
Comment 1 Jiri Sedlacek 2007-08-15 10:28:36 UTC
Passing to author for evaluation.
Comment 2 Tomas Hurka 2007-09-21 15:58:24 UTC
Fixed in trunk.