summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/backtrace_helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/backtrace_helper.cc b/runtime/backtrace_helper.cc
index 843b403dcb..5b316fa101 100644
--- a/runtime/backtrace_helper.cc
+++ b/runtime/backtrace_helper.cc
@@ -53,7 +53,7 @@ struct UnwindHelper : public TLSData {
explicit UnwindHelper(size_t max_depth)
: arch_(unwindstack::Regs::CurrentArch()),
- memory_(unwindstack::Memory::CreateProcessMemory(getpid())),
+ memory_(unwindstack::Memory::CreateProcessMemoryThreadCached(getpid())),
jit_(unwindstack::CreateJitDebug(arch_, memory_)),
dex_(unwindstack::CreateDexFiles(arch_, memory_)),
unwinder_(max_depth, &maps_, memory_) {