ICorProfilerCallback::JITFunctionPitched Method

Notifies the profiler that a function that has been just-in-time (JIT)-compiled has been removed from memory.

Syntax

HRESULT JITFunctionPitched(  
    [in] FunctionID functionId);  

Parameters

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

Remarks

If the removed function is called, the profiler will receive new JIT-compilation events when the function is recompiled. Currently, the common language runtime (CLR) JIT compiler does not remove functions from memory, so this callback is currently not used and will not be received by the profiler.

The value of functionId is not valid until the function is recompiled. When the function is recompiled, the same functionId value will be used.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also