diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2020-02-18 10:18:54 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2020-02-18 13:37:03 +0000 |
commit | 58cc76d2102383b7474415b651a83b7551ab7f39 (patch) | |
tree | e96515725411cfef116f73dad0b152763e24d6f1 /test/008-exceptions/src/MultiDexBadInit.java | |
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
Diffstat (limited to 'test/008-exceptions/src/MultiDexBadInit.java')
0 files changed, 0 insertions, 0 deletions