diff options
author | Christopher Ferris <cferris@google.com> | 2015-07-11 22:47:06 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2015-07-13 12:17:50 -0700 |
commit | 9fee99b06013787054a312449b94115038e2ad7c (patch) | |
tree | ae11f880964b8cf750dc46c5c71eba133de81923 /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 65dd858239c4e32a5a1afbc14ac30dbcdd2a50a3 (diff) |
Do not hold hash table lock while backtracing.
There is a deadlock if holding the hash table lock while trying to do
a backtrace. Change the code so that the hash table lock is only held
while actually modifying either g_hash_table, or while modifying an
entry from g_hash_table.
Bug: 22423683
Change-Id: I604ea56f940f22e99da41ea4dcdf97bedaac268d
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions