summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2018-09-05 10:12:40 -0700
committerTom Cherry <tomcherry@google.com>2018-09-06 10:29:00 -0700
commitfa14d21ca44377f2c70769b6ebb2cc28a65d53d7 (patch)
tree9b5757536466e3ee54fd773a9a45f8da2575b9f6 /rootdir
parent484f72abbfe390a2017182b101e16f7eb63a2271 (diff)
downloadsystem_core-fa14d21ca44377f2c70769b6ebb2cc28a65d53d7.tar.gz
system_core-fa14d21ca44377f2c70769b6ebb2cc28a65d53d7.tar.bz2
system_core-fa14d21ca44377f2c70769b6ebb2cc28a65d53d7.zip
Move zygote start after loading persist properties
Currently zygote is started before loading persistent properties which stops ART honor experiment flags planned landed as persistent properties. The original motivation is we would like zygote be started as early as possible and loading persistent properties taking time, but after fix of b/64392887 loading persist properties is now only taking 3ms on P18, 6ms on P16 respectively. Bug: 114044733 Test: Boot Change-Id: Ibc118966e975c741ee8ea47091b14d691692bf2c
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 1c2ef6423..915540eff 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -306,12 +306,12 @@ on late-init
# /data, which in turn can only be loaded when system properties are present.
trigger post-fs-data
- # Now we can start zygote for devices with file based encryption
- trigger zygote-start
-
# Load persist properties and override properties (if enabled) from /data.
trigger load_persist_props_action
+ # Now we can start zygote for devices with file based encryption
+ trigger zygote-start
+
# Remove a file to wake up anything waiting for firmware.
trigger firmware_mounts_complete