From e2318a2fcede97f826e5e1f68d6e9a5726b4fc2f Mon Sep 17 00:00:00 2001 From: Tim Murray Date: Tue, 16 Jun 2020 12:03:57 -0700 Subject: [PATCH] Move zygote64 into the top-app stune group. 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 --- rootdir/init.zygote64_32.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/init.zygote64_32.rc b/rootdir/init.zygote64_32.rc index 70297484a..fb9e99b69 100644 --- a/rootdir/init.zygote64_32.rc +++ b/rootdir/init.zygote64_32.rc @@ -12,7 +12,7 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s onrestart restart media onrestart restart netd onrestart restart wificond - writepid /dev/cpuset/foreground/tasks + task_profiles ProcessCapacityHigh MaxPerformance service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin --zygote --socket-name=zygote_secondary --enable-lazy-preload class main @@ -22,4 +22,4 @@ service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin --zygote socket zygote_secondary stream 660 root system socket usap_pool_secondary stream 660 root system onrestart restart zygote - writepid /dev/cpuset/foreground/tasks + task_profiles ProcessCapacityHigh MaxPerformance