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.
HRESULT InterpretedMethodInformation(MethodID method_id, unsigned int *pbyte_code_length, BYTE_CODE **ppbyte_codes);
An array of the bytecodes for this method.
[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. |
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.