ICorProfilerCallback::JITFunctionPitched Method

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

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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

ICorProfilerCallback Interface