Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 4.5.2