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

Summary: JavaClass.getAllInstancesSize() can return incorrect value
Product: profiler Reporter: Tomas Hurka <thurka>
Component: EngineAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: normal Keywords: VISUALVM
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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