The GetContainerDescription method of the IJavaHeapMonitor interface is called by a memory profiler to obtain a description of a given container type.
HRESULT GetContainerDescription(CONTAINER_TYPE type, LPWSTR *pshort, LPWSTR *plong);
A short Unicode string (shorter description) and a long Unicode string (longer description) describing the container.
[in] type | The type of the container that the profiler is interested in. |
[out] *pshort | A short Unicode string, describing the container type. |
[out] *plong | A long Unicode string, describing the container type. |
If a memory profiler has registered a callback, the Microsoft VM will send notifications to BeginContainer with a container type. A memory profiler can pass this container type to GetContainerDescription to obtain a description the container type.