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 269489 - Incorrect retained size for javaapplication1.JavaApplication1$B[]#1
Summary: Incorrect retained size for javaapplication1.JavaApplication1$B[]#1
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 7.0
Hardware: PC All
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-05 08:47 UTC by Tomas Hurka
Modified: 2017-01-07 08:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Heap dump (852.71 KB, application/x-gzip)
2017-01-05 08:47 UTC, Tomas Hurka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2017-01-05 08:47:33 UTC
Created attachment 163343 [details]
Heap dump

Use attached heap dump and compute retained size. Retained size of javaapplication1.JavaApplication1$B[]#1 is 802,240,024, which is clearly incorrect, since the size of _whole_ heap dump is around 4M.
Comment 1 Tomas Hurka 2017-01-05 11:00:33 UTC
Fixed in profiler-main

changeset:   302061:0f7cb1821dfc
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Jan 05 11:59:08 2017 +0100
summary:     bugfix #269489, instane size should be added to parent only once
Comment 2 Quality Engineering 2017-01-07 08:41:08 UTC
Integrated into 'main-silver', will be available in build *201701070458* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0f7cb1821dfc
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #269489, instane size should be added to parent only once