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] Anyone tell me the entry of the VM. i.e. Where is the main method of the VM?
Date Sat, 23 Feb 2008 20:47:55 GMT
Hello Xiao Qiang,

I may suggest starting with the launcher [1]. It calls JNI methods to
create the VM (JNI_CreateJavaVM), and to launch a main metheod of Java
application (CallStaticVoidMethod). You can find JNI_CreateJavaVM
implementation at jni.cpp [2]. Please, don't hesitate to ask more
questions.

Thanks.

[1] working_classlib/modules/luni/src/main/native/launcher/shared/main.c
[2] working_vm/vm/vmcore/src/jni/jni.cpp

On Sat, Feb 23, 2008 at 7:51 PM, 周晓强 <xiaoqiang.chou@gmail.com> wrote:
>
>



-- 
With best regards,
Alexei
Mime
View raw message