Wednesday, August 24, 2011

Re: [android-developers] Re: System server query

On Thu, Aug 25, 2011 at 2:00 AM, freakingtux
<kees.jongenburger@gmail.com> wrote:
> Hi
>
> On Tuesday, August 23, 2011 5:10:48 PM UTC+2, Nitin wrote:
>>
>> Hi!
>>
>> I was just going through the code to understand how the system server
>> is started.
>
> Have a look at http://elinux.org/Android_Booting
> and http://elinux.org/Android_Zygote_Startup
>

Thanks, I have gone through these links though.

regards
-Nitin

> Greetings
>
>>
>> I have some query here. Why there is a LOGI saying LOGI("System
>> server: starting Android runtime.\n"); in file System_init.cpp?
>>  We aren't actually starting the Android runtime here. We are just
>> starting the native services and the Android java services.
>>
>> 1. Is this understanding of mine correct?
>>
>> As per my understanding the AndroidRuntime has been already started in
>> Zygote and
>> when we did a fork to start system server, the AndroidRuntime object
>> which was created on stack, is available to the child process from
>> Zygote's address space itself.
>>
>> 2. Is this understanding of mine correct?
>>
>> Thanks in advance
>>
>> regards
>> -Nitin
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment