commit | 6c60d8420e51fda65ad247ae04b5a823c88c26b6 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu Sep 15 10:24:43 2016 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed Oct 05 09:39:07 2016 -0700 |
tree | 8c4222eadad97235b5f6d860fb63ab8a749d111a | |
parent | c13fbeb2201dc0bf783670d4548a49f03b1cb33e [diff] |
Initialize dex cache while holding dex_lock Fixes multiple threads calling RegisterDexFile occasionally getting DCHECK failures due to the arrays not being null since the BSS ones is per dex file. Bug: 31369621 Test: test-art-host, no DCHECK failure during debug booting Change-Id: I7b6e4cd03460dd1213eb4e044bdcf5f6103fd5f9