Microsoft SDK for Java

IJavaEventMonitorIDInfo2 Interface Methods

The IJavaEventMonitorIDInfo2 interface has the following methods:

DescribeObject obtains a description of a special Java object that contains Microsoft VM-dependent fields.
FieldInformation retrieves information about a field in a Java class.
FreeHandlesToObjects frees an array of persistent handles to Java objects that were previously obtained by calling the GetHandlesToObjects method.
GetArrayElement obtains the value of an array element in a Java array.
GetClassFields retrieves an array of the fields in a Java class.
GetClassPath retrieves the current Java class path for the Win32 process being monitored.
GetCurrentThread retrieves the ThreadID for the currently executing Java thread.
GetHandlesToObjects obtains an array of persistent handles to Java objects that are valid across garbage collections, and that can be converted to ObjectIDs to allow tracking of specific objects.
GetObjectField obtains the value of a field in a Java class instance.
GetObjectSize retrieves information about the size of a Java object. The profiler passes in the ObjectID of the object it is interested in. The Microsoft VM returns the size of the object in memory.
GetObjectsFromHandles obtains an array of ObjectIDs from an array of persistent handles retrieved previously by calling GetHandlesToObjects.
GetProfilingCapabilities queries the Microsoft VM for the profiling capabilities that it supports.
GetSpecialClassProperties obtains a list of Java classes that have special properties.
GetStackTrace obtains a stack trace for the specified Java thread.
SampleThreadLocation obtains sample profiling information.
StaticClassInformation retrieves information about the static data in a Java class and the size of an instance of the class.
ThreadInformation retrieves the Win32 thread ID for a Java thread.

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