Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
Defines a transport buffer for general garbage collection heap information.
Note
This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.
Syntax
struct DacpGcHeapData
: ZeroInit<DacpGcHeapData>
{
BOOL bServerMode;
BOOL bGcStructuresValid;
UINT HeapCount;
UINT g_max_generation;
HRESULT Request(ISOSDacInterface *sos)
{
return sos->GetGCHeapData(this);
}
};
Members
| Member | Description |
|---|---|
bServerMode |
A value that indicates whether the runtime uses server GC. |
bGcStructuresValid |
A value that indicates whether the GC structures are valid. |
HeapCount |
The number of GC heaps. |
g_max_generation |
The maximum GC generation number. |
Request |
Populates the structure by calling ISOSDacInterface::GetGCHeapData. |
Remarks
This structure lives inside the runtime and is not exposed through any headers or library files. To use it, define the structure as specified above.
Requirements
Platforms: See System Requirements.
Header: None
Library: None
.NET Framework Versions: Available since 4.7