Muokkaa

Jaa


ICorProfilerCallback4::ReJITCompilationFinished Method

Notifies the profiler that the just-in-time (JIT) compiler has finished recompiling a function.

Syntax

HRESULT ReJITCompilationFinished(  
    [in] FunctionID functionId,    [in] ReJITID rejitId,  
    [in] HRESULT    hrStatus,  
    [in] BOOL       fIsSafeToBlock);  

Parameters

functionId
[in] The ID of the function that was recompiled.

rejitId
[in] The identity of the JIT-recompiled function.

hrStatus
[in] A value that indicates whether the JIT recompilation was successful.

fIsSafeToBlock
[in] true to indicate that blocking may cause the runtime to wait for the calling thread to return from this callback; false to indicate that blocking will not affect the operation of the runtime.

A value of true does not harm the runtime, but can affect the profiling results.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.5

See also