Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364555 - Minor fix for >2GB plain objects
Summary: Minor fix for >2GB plain objects
Status: RESOLVED FIXED
Alias: None
Product: MAT
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 04:44 EST by Andrew Johnson CLA
Modified: 2011-11-23 07:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Johnson CLA 2011-11-23 04:44:22 EST
The a2s index is used for huge or variable sized plain objects as well as arrays.

The a2s index encodes >2GB sizes as negative ints. The garbageCleaner doesn't properly decode these sizes. DTFJIndexBuilder doesn't take account that the current ClassImpl.setHeapSizePerInstance() might not be able to store >2GB sizes.
Comment 1 Andrew Johnson CLA 2011-11-23 04:46:25 EST
Use the proper size in GarbageCleaner and check that the IClass stored the instance size properly.
Comment 2 Andrew Johnson CLA 2011-11-23 07:10:07 EST
Fix applied.