return TRUE;
}
-DWORD GetNumComponents(TADDR obj)
+size_t GetNumComponents(TADDR obj)
{
// The number of components is always the second pointer in the object.
DWORD Value = NULL;
return refs;
}
-DWORD GCRootImpl::GetComponents(TADDR obj, TADDR mt)
+size_t GCRootImpl::GetComponents(TADDR obj, TADDR mt)
{
// Get the number of components in the object (for arrays and such).
DWORD Value = 0;
{
// this is an array, so the size has to include the size of the components. We read the number
// of components from the target and multiply by the component size to get the size.
- DWORD components = GetComponents(obj, info->MethodTable);
+ size_t components = GetComponents(obj, info->MethodTable);
res += info->ComponentSize * components;
}
DWORD_PTR JitHeapInfo();
DWORD_PTR VSDHeapInfo(CLRDATA_ADDRESS appDomain, DWORD_PTR *wasted = 0);
-DWORD GetNumComponents(TADDR obj);
+size_t GetNumComponents(TADDR obj);
struct GenUsageStat
{
// Object/MT data:
MTInfo *GetMTInfo(TADDR mt);
- DWORD GetComponents(TADDR obj, TADDR mt);
+ size_t GetComponents(TADDR obj, TADDR mt);
size_t GetSizeOfObject(TADDR obj, MTInfo *info);
// RootNode management: