Microsoft SDK for Java

IJavaEventMonitorIDInfo::
InterpretedMethodInformation

The InterpretedMethodInformation method of the IJavaEventMonitorIDInfo interface is called by a profiler to retrieve additional information on an interpreted method. The profiler passes in the MethodID of the method to be profiled.

Syntax

HRESULT InterpretedMethodInformation(MethodID method_id, unsigned int *pbyte_code_length, BYTE_CODE **ppbyte_codes);

Return Value

An array of the bytecodes for this method.

Parameters

[in] method_id The MethodID of the method the profiler is interested in.
[out] *pbyte_code_length The length of the bytecode information returned. This represents the number of elements in the array.
[out] **ppbyte_codes A pointer to an array of Java bytecodes for the method.

Remarks

If this method is called before a MethodID has been JIT-compiled, interpreted bytecode information will always be returned. Depending on the mode of the Microsoft VM, interpreted bytecode information might not be available after the method has been JIT-compiled.

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