Hello,
Thank you for your interest.

IMHO the method is attributed with access flags, and the native code
is looked for only if ACC_NATIVE is set for the method. You may find
useful checking static JIT_Result compile_do_compilation(Method*
method) from vm/vmcore/src/jit/compile.cpp.


On Nov 21, 2007 4:34 PM, 史成荣 <[EMAIL PROTECTED]> wrote:
> I guess that if the vm want to execute a method, it first tries to find the
> native codes, if the native codes exist, the vm execute it, if  the native
> codes do not exist, it triggers the jit to compile the method, then execute
> it.
> I am not sure about it and want to know more details of the process. Could
> anyone tell me which part of the source code accomplish the execution of  a
> method ? And I can have a deeper study about it .
>



-- 
With best regards,
Alexei,
ESSD, Intel

Reply via email to