Redaguoti

Bendrinti naudojant


ICorProfilerInfo4::GetReJITIDs Method

Returns an array of IDs that identify all JIT-recompiled versions of the specified function that are still allocated. This includes JIT-recompiled versions of functions that have been subsequently reverted but not yet freed (for example, when the application domain that contains the reverted function is still in use).

Syntax

HRESULT GetReJITIDs (  
     [in]  FunctionID          functionId,  
     [in]  ULONG               cReJitIds,  
     [out] ULONG *             pcReJitIds,  
     [out, size_is(cReJitIds), length_is(*pcReJitIds)]   ReJITID        reJitIds[]);  

Parameters

functionId
[in] The FunctionID of the function instance for which to enumerate versions.

cReJitIds
[in] The number of JIT-recompiled IDs allocated in the reJitIds array.

pcReJitIds
[out] The actual number of JIT-recompiled IDs.

reJitIds
[out] A caller-allocated array that will contain the JIT-recompiled IDs for the specified function.

Remarks

GetReJITIDs enumerates the active JIT-recompiled IDs for a given function instance. It follows the same usage pattern as other ICorProfilerInfo functions that accept caller-allocated buffers.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.5

See also