Microsoft SDK for Java

IJavaEventMonitorIDInfo2::
GetObjectSize

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.

Syntax

HRESULT GetObjectSize(ObjectID object_id, DWORD *pSize);

Return Value

The size of the object in memory.

Parameters

[in] object_id The ObjectID of the object the profiler is interested in.
[out] *pSize The size of the object in memory.

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