commit | 5a3d0c6e11d9eee40e8134c2efc8fcf6485ce7c5 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Wed Nov 09 15:35:18 2016 +0000 |
committer | Narayan Kamath <narayan@google.com> | Wed Dec 28 15:20:11 2016 +0000 |
tree | 4e43a7901bb04d92e9a1176b94db4751f0c37fba | |
parent | 95f50d73148908c17015da98d89dcd788bf639ec [diff] |
Allow lazy preloading of zygote resources. Add a flag that controls resource preloading. If set, the zygote waits until the first fork request to preload resources. When applied to the secondary zygote, this approach appears to save between 500-800ms of boot time once the webview RELRO step that uses the 32 bit zygote is deferred. Test: Manual Bug: 32735001 Change-Id: Id387b7132d052fa51b9c25f0142fcd546b99662d