COR_PRF_GC_ROOT_KIND Enumeration
Indicates the kind of garbage collection root that is exposed by the ICorProfilerCallback2::RootReferences2 callback.
Syntax
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;
Members
Member | Description |
---|---|
COR_PRF_GC_ROOT_STACK |
The root is a variable on the stack. |
COR_PRF_GC_ROOT_FINALIZER |
The root is an entry in the finalizer queue. |
COR_PRF_GC_ROOT_HANDLE |
The root is a garbage collection handle. |
COR_PRF_GC_ROOT_OTHER |
The kind of root is unspecified. |
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.