Android 启动过程详解
2010-03-11 19:29:00 来源:WEB开发网核心提示:also calls system_init to start system services. So there is a question: why does Android have two methods to start system services? My guess is that directly s
also calls system_init to start system services. So there is a question: why
does Android have two methods to start system services? My guess is that
directly start system_server may have synchronous problem with zygote because
system_server will call JNI to start SystemServer::init2, while at that time
zygote may not start JAVA VM yet. So Android uses another method. After zynote
is initialized, fork a new process to start system services
更多精彩
赞助商链接