PROFILER_HEAP_OBJECT, structurePROFILER_HEAP_OBJECT Structure

Représente les objets du tas, regroupés en iactivescriptprofilercontrol3::enumheap, méthode.Represents the heap objects gathered by IActiveScriptProfilerControl3::EnumHeap Method.

SyntaxeSyntax

typedef struct _PROFILER_HEAP_OBJECT  
{  
    UINT size;    union {        PROFILER_HEAP_OBJECT_ID objectId;        PROFILER_EXTERNAL_OBJECT_ADDRESS externalObjectAddress;    };    PROFILER_HEAP_OBJECT_NAME_ID typeNameId;    USHORT flags;     USHORT optionalInfoCount;} PROFILER_HEAP_OBJECT;  

MembresMembers

MembreMember TypeType DescriptionDescription
objectIdobjectId Type PROFILER_HEAP_OBJECT_IDPROFILER_HEAP_OBJECT_ID Type L’ID de l’objet de segment de mémoire.The ID of the heap object.
externalObjectAddressexternalObjectAddress Type PROFILER_EXTERNAL_OBJECT_ADDRESSPROFILER_EXTERNAL_OBJECT_ADDRESS Type L’adresse de l’objet externe d’un objet, tel qu’un objet alloué en C++, qui est en dehors du tas JavaScript.The external object address of an object, such as a C++-allocated object, that is outside the JavaScript heap.
typeNameIdtypeNameId Type PROFILER_HEAP_OBJECT_NAME_IDPROFILER_HEAP_OBJECT_NAME_ID Type L’ID du nom de type d’objet du tas, extraite IActiveScriptProfilerHeapEnum::GetNameIdMap.The ID of the heap object type name, retrieved from IActiveScriptProfilerHeapEnum::GetNameIdMap. Seul l’un des externalObjectAddress ou typeName est présent en fonction de la flags valeur.Only one of externalObjectAddress or typeName is present depending on the flags value.
flagsflags Énumération PROFILER_HEAP_OBJECT_FLAGSPROFILER_HEAP_OBJECT_FLAGS Enumeration Les indicateurs qui contiennent des informations de base sur l’objet de tas.The flags that contain basic information about the heap object.
optionalInfoCountoptionalInfoCount USHORTUSHORT Le nombre de profiler_heap_object_optional_info, Structure enregistrements qui sont disponibles pour l’objet de segment de mémoire.The number of PROFILER_HEAP_OBJECT_OPTIONAL_INFO Structure records that are available for the heap object.