Expand Minimize

ICorProfilerCallback::JITCompilationFinished Method

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

HRESULT JITCompilationFinished(
    [in] FunctionID functionId,
    [in] HRESULT    hrStatus,
    [in] BOOL       fIsSafeToBlock);

functionId

[in] The ID of the function that was compiled.

hrStatus

[in] A value indicating whether compilation was successful.

fIsSafeToBlock

[in] A value indicating to the profiler whether blocking will affect the operation of the runtime. The value is true if blocking may cause the runtime to wait for the calling thread to return from this callback; otherwise, false.

Although a value of true will not harm the runtime, it can skew the profiling results.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft