ICorProfilerCallback4 Interface

Provides callback methods that the common language runtime (CLR) uses to communicate information to the profiler.

Methods

Method Description
GetReJITParameters Method Allows the code profiler to set alternate code generation flags for a new recompiled method body.
MovedReferences2 Method Reports the new layout of objects in the heap as a result of a compacting garbage collection.
ReJITCompilationFinished Method Notifies the profiler that the just-in-time (JIT) compiler has finished the recompilation of a function.
ReJITCompilationStarted Method Notifies the profiler that the just-in-time (JIT) compiler has started to recompile a function.
ReJITError Method Reports an error encountered while processing a recompile request.
SurvivingReferences2 Method Reports the layout of objects in the heap as a result of a non-compacting garbage collection.

Remarks

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.5

See also