Beispiel #1
0
        internal override IHeapDetails GetWksHeapDetails()
        {
            if (CLRVersion == DesktopVersion.v2)
            {
                return(Request <IHeapDetails, V2HeapDetails>(DacRequests.GCHEAPDETAILS_STATIC_DATA));
            }

            HeapDetails result = (HeapDetails)Request <IHeapDetails, HeapDetails>(DacRequests.GCHEAPDETAILS_STATIC_DATA);

            result = new HeapDetails(ref result);
            return(result);
        }
Beispiel #2
0
        internal override IHeapDetails GetSvrHeapDetails(ulong addr)
        {
            if (CLRVersion == DesktopVersion.v2)
            {
                return(Request <IHeapDetails, V2HeapDetails>(DacRequests.GCHEAPDETAILS_DATA, addr));
            }

            HeapDetails result = (HeapDetails)Request <IHeapDetails, HeapDetails>(DacRequests.GCHEAPDETAILS_DATA, addr);

            result = new HeapDetails(ref result);
            return(result);
        }