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 214626 - [HeapWalker] Incorrect size of arrays in classes view
Summary: [HeapWalker] Incorrect size of arrays in classes view
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: VISUALVM
Depends on:
Blocks:
 
Reported: 2012-06-22 12:30 UTC by Tomas Hurka
Modified: 2013-07-04 07:02 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 Tomas Hurka 2012-06-22 12:30:07 UTC
'Size of all instances' column in classes view does not match the sum of instances sizes as displayed in instances view. This is wrong only for arrays. 
Steps:
1) open heap dump
2) find array with a few instances (<5)
3) manually sum instance sizes in instance view - the sum does not match the size column in classes view
Comment 1 Tomas Hurka 2012-06-22 12:46:46 UTC
Fixed in profiler-main

changeset:   224900:aa6c08a5f9b4
user:        Tomas Hurka <thurka@netbeans.org>
date:        Fri Jun 22 14:31:57 2012 +0200
summary:     bugfix #214626, do not forget to add ArrayDump.HPROF_ARRAY_OVERHEAD
Comment 2 Quality Engineering 2012-06-24 04:43:07 UTC
Integrated into 'main-golden', will be available in build *201206240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/aa6c08a5f9b4
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #214626, do not forget to add ArrayDump.HPROF_ARRAY_OVERHEAD