Redaguoti

Bendrinti naudojant


ICorDebugFunction3::GetActiveReJitRequestILCode Method

[Supported in the .NET Framework 4.5.2 and later versions]

Gets an interface pointer to an ICorDebugILCode that contains the IL from an active ReJIT request.

Syntax

HRESULT GetActiveReJitRequestILCode(
   ICorDebugILCode **ppReJitedILCode
);

Parameters

ppReJitedILCode A pointer to the IL from an active ReJIT request.

Remarks

If the method represented by this ICorDebugFunction3 object has an active ReJIT request, ppReJitedILCode returns a pointer to its IL. If there is no active request, which is a common case, then ppReJitedILCode is null.

A ReJIT request becomes active just after execution returns from the ICorProfilerCallback4::GetReJITParameters method call. It may not yet be JIT-compiled, and threads may still be executing in the original version of the code. A ReJIT request becomes inactive during the profiler's call to the ICorProfilerInfo4::RequestRevert method. Even after the IL is reverted, a thread can still be executing in the JIT-recompiled (ReJIT) code.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.5.2

See also