harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov" <alexei.fedo...@gmail.com>
Subject Re: [drlvm][vm]question about the execution of a method
Date Wed, 21 Nov 2007 14:49:25 GMT
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, 史成荣 <icyrong@gmail.com> 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,
ESSD, Intel
View raw message