Share via


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: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

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

See Also

Reference

ICorProfilerCallback Interface