Microsoft SDK for Java

IJavaHeapMonitor Interface Methods

The IJavaHeapMonitor interface contains the following methods.

GetContainerDescription is called by a memory profiler to obtain a description of a given container type.
GetHeapInfo is called by a memory profiler to register its callback interface for receiving notification when the heap is dumped at the end of each garbage collection.
GetObjectAge is called by a memory profiler to determine the number of garbage collections a Java object has survived.
ModifyHeapMonitorCapabilities is called by a memory profiler to query or modify the heap monitoring capabilities provided by the Microsoft VM.
NotifyOnObjectAllocations is called by a memory profiler to register its callback interface for receiving notification when an individual object is created (allocated on the heap).

© 1999 Microsoft Corporation. All rights reserved. Terms of use.