Re: [android-kernel] Re: creating new processes insternals

2010-05-08 Thread Dianne Hackborn
On Sat, May 8, 2010 at 3:52 PM, Vesmar wrote: > So on Android the "" process will tell to the zygote process to > sys_clone (thread, fork or vfork?) and then the new zygote process > will load the "" using the "" syscall. Does this new zygote > will load a new dalvik image or just use

[android-kernel] Re: creating new processes insternals

2010-05-08 Thread Vesmar
Thank you guys! Yes, I understand Android App are JAVA programs interpreted by Dalvik VM. But I m trying to find a relation between the App point of view (JAVA Apps, framework components, activities, services,..) vs. kernel point of view (processes and threads). For this job I have modified the And

Re: [android-kernel] Re: creating new processes insternals

2010-05-07 Thread Dianne Hackborn
2-3 threads are usually created for the binder IPC thread pool. On Fri, May 7, 2010 at 4:11 AM, Hristo Bojinov wrote: > The Calculator is a Dalvik /"Java"/ app. All those get forked off of > zygote for performance reasons (zygote is an empty VM instance, ready > to spawn/fork off real apps; it ha

[android-kernel] Re: creating new processes insternals

2010-05-07 Thread Hristo Bojinov
The Calculator is a Dalvik /"Java"/ app. All those get forked off of zygote for performance reasons (zygote is an empty VM instance, ready to spawn/fork off real apps; it has many libraries preloaded in its address space, etc.). http://developer.android.com/reference/dalvik/system/Zygote.html Not