Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330942

Summary: Average age and allocation details tab instance data does not appear
Product: z_Archived Reporter: Jonathan West <jgwest>
Component: TPTPAssignee: Jonathan West <jgwest>
Status: CLOSED FIXED QA Contact: Kathy Chan <kathy>
Severity: major    
Priority: P3 CC: jcayne, mikereid
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch to TIDelegateHelper none

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.