android_system_core/libbacktrace
Christopher Ferris 3a14004c7f 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
2016-06-16 23:28:11 -07:00
..
Android.build.mk
Android.mk Remove invalid uses of -l and -I 2016-06-01 13:41:23 -07:00
Backtrace.cpp
BacktraceCurrent.cpp
BacktraceCurrent.h
BacktraceLog.h
BacktraceMap.cpp Fix race condition updating local map data. 2016-06-16 23:28:11 -07:00
BacktraceOffline.cpp
BacktraceOffline.h
BacktracePtrace.cpp
BacktracePtrace.h
GetPss.cpp Fix misc-macro-parentheses warnings in adb, debuggerd, libbacktrace. 2016-05-18 15:53:15 -07:00
GetPss.h
ThreadEntry.cpp
ThreadEntry.h
UnwindCurrent.cpp
UnwindCurrent.h
UnwindMap.cpp Fix race condition updating local map data. 2016-06-16 23:28:11 -07:00
UnwindMap.h Fix race condition updating local map data. 2016-06-16 23:28:11 -07:00
UnwindPtrace.cpp
UnwindPtrace.h
backtrace_offline_test.cpp
backtrace_test.cpp Fix race condition updating local map data. 2016-06-16 23:28:11 -07:00
backtrace_testlib.c
thread_utils.c
thread_utils.h