COR_PRF_GC_ROOT_KIND Enumeration

 

Indicates the kind of garbage collection root that is exposed by the ICorProfilerCallback2::RootReferences2 callback.

typedef enum {  
    COR_PRF_GC_ROOT_STACK = 1,  
    COR_PRF_GC_ROOT_FINALIZER = 2,  
    COR_PRF_GC_ROOT_HANDLE = 3,  
    COR_PRF_GC_ROOT_OTHER = 0  
} COR_PRF_GC_ROOT_KIND;  

MemberDescription
COR_PRF_GC_ROOT_STACKThe root is a variable on the stack.
COR_PRF_GC_ROOT_FINALIZERThe root is an entry in the finalizer queue.
COR_PRF_GC_ROOT_HANDLEThe root is a garbage collection handle.
COR_PRF_GC_ROOT_OTHERThe kind of root is unspecified.

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

Profiling Enumerations

Show: