This documentation is archived and is not being maintained.

ICorProfilerCallback::JITFunctionPitched Method

Notifies the profiler that a function that has been JIT-compiled has been removed from memory.

HRESULT JITFunctionPitched(
    [in] FunctionID functionId);


Parameter Description


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

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.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0