C# Class msos.ClrHeapExtensions

Exibir arquivo Open project: goldshtn/msos

Public Methods

Method Description
FlatSubgraphOf ( this heap, ulong objPtr ) : ClrType>>.IEnumerable

Returns only referenced objects that do not contain further pointers, and referenced arrays of objects that do not contain further pointers. This provides a fast estimate of the amount of memory that is likely only retained by the target object.

GetFreeSpaceBySegment ( this heap ) : ulong>.IDictionary
GroupTypesInObjectSetAndSortBySize ( this heap, IEnumerable addresses ) : IEnumerable
SizeReachableFromObjectSet ( this heap, IEnumerable objects ) : ulong
SubgraphOf ( this heap, ulong objPtr ) : ClrType>>.IEnumerable

Private Methods

Method Description
EnumerateFromObjectSet ( Microsoft.Diagnostics.Runtime.ClrHeap heap, IEnumerable objects ) : ClrType>>.IEnumerable
GetStats ( string type, IEnumerable objectSizes ) : HeapTypeStatistics

Method Details

FlatSubgraphOf() public static method

Returns only referenced objects that do not contain further pointers, and referenced arrays of objects that do not contain further pointers. This provides a fast estimate of the amount of memory that is likely only retained by the target object.
public static FlatSubgraphOf ( this heap, ulong objPtr ) : ClrType>>.IEnumerable
heap this
objPtr ulong
return ClrType>>.IEnumerable

GetFreeSpaceBySegment() public static method

public static GetFreeSpaceBySegment ( this heap ) : ulong>.IDictionary
heap this
return ulong>.IDictionary

GroupTypesInObjectSetAndSortBySize() public static method

public static GroupTypesInObjectSetAndSortBySize ( this heap, IEnumerable addresses ) : IEnumerable
heap this
addresses IEnumerable
return IEnumerable

SizeReachableFromObjectSet() public static method

public static SizeReachableFromObjectSet ( this heap, IEnumerable objects ) : ulong
heap this
objects IEnumerable
return ulong

SubgraphOf() public static method

public static SubgraphOf ( this heap, ulong objPtr ) : ClrType>>.IEnumerable
heap this
objPtr ulong
return ClrType>>.IEnumerable