e2318a2fce
Improve app startup performance before the new app is in the top-app cpuset. Test: boots, zygote64 in top-app stune group Bug: 159201879 Change-Id: I3aad4b4b1d2f54db9e7ba86db8a655d8552bad0a
25 lines
1 KiB
Text
25 lines
1 KiB
Text
service zygote /system/bin/app_process64 -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
|
|
socket usap_pool_primary stream 660 root system
|
|
onrestart exec_background - system system -- /system/bin/vdc volume abort_fuse
|
|
onrestart write /sys/power/state on
|
|
onrestart restart audioserver
|
|
onrestart restart cameraserver
|
|
onrestart restart media
|
|
onrestart restart netd
|
|
onrestart restart wificond
|
|
task_profiles ProcessCapacityHigh MaxPerformance
|
|
|
|
service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin --zygote --socket-name=zygote_secondary --enable-lazy-preload
|
|
class main
|
|
priority -20
|
|
user root
|
|
group root readproc reserved_disk
|
|
socket zygote_secondary stream 660 root system
|
|
socket usap_pool_secondary stream 660 root system
|
|
onrestart restart zygote
|
|
task_profiles ProcessCapacityHigh MaxPerformance
|