why the boot_progress_perload_stat display twice?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

why the boot_progress_perload_stat display twice?

1,178件の閲覧回数
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,162件の閲覧回数
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,154件の閲覧回数
yhm2046
Contributor II

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

0 件の賞賛
返信

1,136件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

No, you can't do like this.

0 件の賞賛
返信