Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330942 - Average age and allocation details tab instance data does not appear
Summary: Average age and allocation details tab instance data does not appear
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Jonathan West CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 12:08 EST by Jonathan West CLA
Modified: 2016-05-05 10:58 EDT (History)
2 users (show)

See Also:


Attachments
Patch to TIDelegateHelper (2.10 KB, patch)
2010-11-23 12:51 EST, Jonathan West CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan West CLA 2010-11-23 12:08:19 EST
When heap profiling, in the Object Allocations view, the average age data is not appearing in the 'Memory Statistics' tab, and the Live Instances/Active Size/Total Instances data is not appearing in the 'Allocation Details' tab. 

From investigation, this is due to the the collection mode not being 'TRCCollectionMode.HEAP_AND_EXECUTION_FULL_LITERAL'. The existing code in AllocationDetailsView and BaseMemoryStatisticView relies on a TRCFullTraceTraceObject, which is not created in TRCCollectionMode.HEAP_FULL_LITERAL or TRCCollectionMode.HEAP_STATISTICS_ONLY_LITERAL.
Comment 1 Jonathan West CLA 2010-11-23 12:51:10 EST
Created attachment 183685 [details]
Patch to TIDelegateHelper
Comment 2 Jonathan West CLA 2010-11-23 12:52:13 EST
Patch checked into HEAD.
Comment 3 Jonathan West CLA 2010-12-16 11:50:59 EST
Verified.