The IHeapInfoCallback interface is used by the Microsoft virtual machine (Microsoft VM) to notify a profiler or heap monitoring application when garbage collection has occurred, and to provide a heap dump to the profiler. This object is one of two callbacks through which the Microsoft VM communicates with the profiler or heap monitor regarding heap information.
A profiler or heap monitoring application must register this interface with the Microsoft VM by calling GetHeapInfo.
The profiler or event monitoring application implements IHeapInfoCallback object. The IHeapInfoCallback object has several methods that receive information from the Microsoft VM after garbage collection as part of a heap dump of an executing Java process.
The methods implemented on this interface return S_OK on success, or E_FAIL on failure.
// Methods BeginContainer ObjectReferences RootReferences