The GetObjectSize method of the IJavaEventMonitorIDInfo2 interface retrieves information about the size of an object. This method is called by a profiler. The profiler must pass the ObjectID of the Java monitor (synchronization object) it is interested in.
The GetObjectSize method is implemented only by the IJavaEventMonitorIDInfo2 and IJavaEventMonitorIDInfo3 interfaces.
HRESULT GetObjectSize(ObjectID object_id, DWORD *pSize);
The size of the object in memory.
[in] object_id | The ObjectID of the object the profiler is interested in. |
[out] *pSize | The size of the object in memory. |