commit | 58cc76d2102383b7474415b651a83b7551ab7f39 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Tue Feb 18 10:18:54 2020 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Tue Feb 18 13:37:03 2020 +0000 |
tree | e96515725411cfef116f73dad0b152763e24d6f1 | |
parent | 641f155fa4433e2ec5b63be33bf4d7efdd6f1188 [diff] |
Fix braino in Jit::PostZygoteFork. The logic for mapping boot image methods after fork is for a child zygote, so we should check as such (just as the comment mentions). Not doing the check leads to a race for a forked process with a child zygote, which if the boot image methods are not yet mapped, it would try to map them twice. Test: boots and no crashes in webview forked processes. Bug: 119800099 Change-Id: I19767d8e3b992e51274e232b41e10a0fe363f284