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 193503 - JavaClass.getAllInstancesSize() can return incorrect value
Summary: JavaClass.getAllInstancesSize() can return incorrect value
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: VISUALVM
Depends on:
Blocks:
 
Reported: 2010-12-16 15:53 UTC by Tomas Hurka
Modified: 2010-12-18 06:09 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 2010-12-16 15:53:18 UTC
JavaClass.getAllInstancesSize() can return incorrect value for arrays.
Comment 1 Tomas Hurka 2010-12-16 16:01:53 UTC
See also issue #157289.
Comment 2 Tomas Hurka 2010-12-16 20:08:48 UTC
Fixed in profiler-main


changeset:   184850:a19dde2dfb2e
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Dec 16 21:07:32 2010 +0100
summary:     bugfix #193503, make sure that the long type is used in the size computation
Comment 3 Quality Engineering 2010-12-18 06:09:28 UTC
Integrated into 'main-golden', will be available in build *201012180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a19dde2dfb2e
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #193503, make sure that the long type is used in the size computation