summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2015-07-11 22:47:06 -0700
committerChristopher Ferris <cferris@google.com>2015-07-13 12:17:50 -0700
commit9fee99b06013787054a312449b94115038e2ad7c (patch)
treeae11f880964b8cf750dc46c5c71eba133de81923 /libc/malloc_hooks/malloc_hooks.cpp
parent65dd858239c4e32a5a1afbc14ac30dbcdd2a50a3 (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