Merge "Set zygote process priority to -20 to speed up VM startup time."
This commit is contained in:
commit
92774329dd
|
@ -1,5 +1,6 @@
|
|||
service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
|
||||
class main
|
||||
priority -20
|
||||
socket zygote stream 660 root system
|
||||
onrestart write /sys/android_power/request_state wake
|
||||
onrestart write /sys/power/state on
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
service zygote /system/bin/app_process32 -Xzygote /system/bin --zygote --start-system-server --socket-name=zygote
|
||||
class main
|
||||
priority -20
|
||||
socket zygote stream 660 root system
|
||||
onrestart write /sys/android_power/request_state wake
|
||||
onrestart write /sys/power/state on
|
||||
|
@ -9,6 +10,7 @@ service zygote /system/bin/app_process32 -Xzygote /system/bin --zygote --start-s
|
|||
|
||||
service zygote_secondary /system/bin/app_process64 -Xzygote /system/bin --zygote --socket-name=zygote_secondary
|
||||
class main
|
||||
priority -20
|
||||
socket zygote_secondary stream 660 root system
|
||||
onrestart restart zygote
|
||||
writepid /dev/cpuset/foreground/tasks /sys/fs/cgroup/stune/foreground/tasks
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-system-server
|
||||
class main
|
||||
priority -20
|
||||
socket zygote stream 660 root system
|
||||
onrestart write /sys/android_power/request_state wake
|
||||
onrestart write /sys/power/state on
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-system-server --socket-name=zygote
|
||||
class main
|
||||
priority -20
|
||||
socket zygote stream 660 root system
|
||||
onrestart write /sys/android_power/request_state wake
|
||||
onrestart write /sys/power/state on
|
||||
|
@ -9,6 +10,7 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s
|
|||
|
||||
service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin --zygote --socket-name=zygote_secondary
|
||||
class main
|
||||
priority -20
|
||||
socket zygote_secondary stream 660 root system
|
||||
onrestart restart zygote
|
||||
writepid /dev/cpuset/foreground/tasks /sys/fs/cgroup/stune/foreground/tasks
|
||||
|
|
Loading…
Reference in New Issue