Rediger

DacpGenerationData Structure

Defines a transport buffer for garbage collection generation 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 DacpGenerationData : ZeroInit<DacpGenerationData>
{    
    CLRDATA_ADDRESS start_segment;
    CLRDATA_ADDRESS allocation_start;

    // These are examined only for generation 0, otherwise NULL
    CLRDATA_ADDRESS allocContextPtr;
    CLRDATA_ADDRESS allocContextLimit;
};

Members

Member Description
start_segment The address of the first heap segment for the generation.
allocation_start The address where allocation starts for the generation.
allocContextPtr The current allocation context pointer for generation 0; otherwise NULL.
allocContextLimit The allocation context limit for generation 0; otherwise NULL.

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

See also