The StaticClassInformation method of the IJavaEventMonitorIDInfo2 interface is called by a profiler to retrieve information about the static data in a class and the size of an instance of the class. The profiler must pass the ClassID of the Java class it is interested in.
The StaticClassInformation method is implemented only by the IJavaEventMonitorIDInfo2 and IJavaEventMonitorIDInfo3 interfaces.
HRESULT StaticClassInformation(ClassID class_id, DWORD *pStaticDataSize, DWORD *pInstanceSize);
The size of the static data in the class and the size of the class instance (size of the object on the heap).
[in] class_id | The ClassID of the Java class the profiler is interested in. |
[out] *pStaticDataSize | The size of the static data in the class. |
[out] *pInstanceSize | The size of the class instance (the size of the object on the heap). |