diff options
author | David Srbecky <dsrbecky@google.com> | 2018-02-23 18:06:13 +0000 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2019-03-29 14:01:32 +0000 |
commit | 85b5fecec920208ec43b42488f08d4c2e5aaeda2 (patch) | |
tree | f247629aaf617cc5fc287cf3eb2e6f076f6a635d /libbacktrace/UnwindStackMap.cpp | |
parent | e346d03c2bf198ab25e926bc2c26dd9db53b87ba (diff) |
Check for data races when reading JIT/DEX entries.
Update the entries only when the list is modified by the runtime.
Check that the list wasn't concurrently modified when being read.
Bug: 124287208
Test: libunwindstack_test
Test: art/test.py -b --host -r -t 137-cfi
Change-Id: I87ba70322053a01b3d5be1fdf6310e1dc21bb084
Diffstat (limited to 'libbacktrace/UnwindStackMap.cpp')
-rw-r--r-- | libbacktrace/UnwindStackMap.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libbacktrace/UnwindStackMap.cpp b/libbacktrace/UnwindStackMap.cpp index 4518891c3..726fdfa04 100644 --- a/libbacktrace/UnwindStackMap.cpp +++ b/libbacktrace/UnwindStackMap.cpp @@ -43,13 +43,6 @@ bool UnwindStackMap::Build() { // Create the process memory object. process_memory_ = unwindstack::Memory::CreateProcessMemory(pid_); - // Create a JitDebug object for getting jit unwind information. - std::vector<std::string> search_libs_{"libart.so", "libartd.so"}; - jit_debug_.reset(new unwindstack::JitDebug(process_memory_, search_libs_)); -#if !defined(NO_LIBDEXFILE_SUPPORT) - dex_files_.reset(new unwindstack::DexFiles(process_memory_, search_libs_)); -#endif - if (!stack_maps_->Parse()) { return false; } |