why the boot_progress_perload_stat display twice?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

why the boot_progress_perload_stat display twice?

1,192 次查看
yhm2046
Contributor II

I using android automotive 10 in mek_8q, running :logcat -d -b events | grep "boot"

and notice 

boot_progress_preload_start
boot_progress_preload_end  

show twice, it was meaning Zygote start twice,the all log is below, someone can tell me why thanks

0 项奖励
回复
3 回复数

1,176 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

There are two kinds of zygote in AOSP init.zygote32_64.rc.The first is for 32 bit application and the another is for 64 bit application.The system will boot 32 bit zygote and 64 bit zygote.

service zygote /system/bin/app_process32 -Xzygote /system/bin --zygote --start-system-server --socket-name=zygote
    class main
    priority -20
    user root
    group root readproc reserved_disk
    socket zygote stream 660 root system
    onrestart write /sys/android_power/request_state     wake
    onrestart write /sys/power/state on
    onrestart restart audioserver
    onrestart restart cameraserver
    onrestart restart media
    onrestart restart netd
    onrestart restart wificond
    writepid /dev/cpuset/foreground/tasks

service zygote_secondary /system/bin/app_process64 -Xzygote /system/bin --zygote     --socket-name=zygote_secondary
    class main
    priority -20
    user root
    group root readproc reserved_disk
    socket zygote_secondary stream 660 root system
    onrestart restart zygote
    writepid /dev/cpuset/foreground/tasks

 

0 项奖励
回复

1,168 次查看
yhm2046
Contributor II

thanks for your replay. But I want to know whether can delete 32 bit zygote to less boot time?

0 项奖励
回复

1,150 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

No, you can't do like this.

0 项奖励
回复