commit | c1813b31ed32789aa5d1da8eeb4b778579bb181d | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Wed Jun 15 15:49:50 2016 -0700 |
committer | Christopher Ferris <cferris@google.com> | Thu Jun 16 23:28:11 2016 -0700 |
tree | f634112a0fb69a6ff197bd08232e5d34ebe4e229 | |
parent | ec73020d999e628475c5980f0f9a0198023c2b22 [diff] |
Fix race condition updating local map data. If the underlying local map changes, it's possible for multiple threads to try and modify the map data associated with the UnwindLocalMap object. Add a lock when generating the local map to avoid this problem. In addition, add a read lock whenever any caller gets the maps iterator. Updated all iterator callers to make this lock. Bug: 29387050 Change-Id: Ie34822c3d8fd3bdb3dd126aeeb399969c36508c1