Bug 269489 - Incorrect retained size for javaapplication1.JavaApplication1$B[]#1
Incorrect retained size for javaapplication1.JavaApplication1$B[]#1
Status: RESOLVED FIXED
Product: profiler
Classification: Unclassified
Component: Engine
7.0
PC All
: P2 (vote)
: Dev
Assigned To: Tomas Hurka
issues@profiler
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo