Microsoft SDK for Java

IJavaEventMonitorIDInfo::
JITCompiledMethodInformation

The JITCompiledMethodInformation method of the IJavaEventMonitorIDInfo interface is called by a profiler to retrieve additional information on a JIT-compiled method. The profiler passes in the MethodID of the method to be profiled.

Syntax

HRESULT JITCompiledMethodInformation(MethodID method_id, unsigned int *pjit_code_length, unsigned char **ppjit_code);

Return Value

An array of JIT-compiled code for this method.

Parameters

[in] method_id The MethodID of the method the profiler is interested in.
[out] *pjit_code_length The length of the JIT-compiled code information returned. This represents the number of elements in the array.
[out] **ppjit_code A pointer to an array of JIT-compiled codes for the method.

Remarks

This method must be called only after the profiler has received notification that the method has been JIT-compiled.

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