DescriptionClean up Linux zygote creation code
The browser code contains partial support for using multiple zygote
processes, which exists to support Flash component updates. However,
at present the browser process only creates a single zygote, on startup,
and uses that for everything. Clean up the code to make that more clear.
* Remove probably-unused lazy zygote creation code.
* Always use ZygoteHandle instead of ZygoteHandle*. ZygoteHandle is always
a pointer under the hood.
* Add CHECKs to validate the assumption there is only one zygote.
This came up while investigating a zygote check failure on Chrome OS.
I'm concerned that the lazy-launch code could be starting a zygote during
browser process shutdown. See crbug.com/692227
BUG=692227, 569191
TEST=manually load web pages, extensions and nacl apps to trigger child
process creation, verify they load properly
Review-Url: https://codereview.chromium.org/2850903002
Cr-Commit-Position: refs/heads/master@{#468331}
Committed: https://chromium.googlesource.com/chromium/src/+/ca8595ada8cf0a185b7abc5d112c7e9dcd66e3bb
Patch Set 1 #
Total comments: 5
Messages
Total messages: 18 (10 generated)
|