summaryrefslogtreecommitdiffstats
path: root/libmemunreachable
diff options
context:
space:
mode:
authorJoel Fernandes <joelaf@google.com>2018-08-24 11:57:57 -0700
committerJoel Fernandes <joelaf@google.com>2018-08-24 12:30:09 -0700
commited59ff4729124ac49fa042c60b7391c509e5adb9 (patch)
treea56504cc2030a6dd192662a25836417bd53ad32e /libmemunreachable
parent07c2c9a58df5c85880c559882e98f9cd54c599e0 (diff)
downloadsystem_core-ed59ff4729124ac49fa042c60b7391c509e5adb9.tar.gz
system_core-ed59ff4729124ac49fa042c60b7391c509e5adb9.tar.bz2
system_core-ed59ff4729124ac49fa042c60b7391c509e5adb9.zip
Remove ashmem from system/core
This topic removes ashmem from ART. Changes the names in system/core too. It only affects "dalvik-" ashmem regions which are the majority. Change-Id: Id993b4510d9b1461954cd8a6bf8ccede45fdaacc Signed-off-by: Joel Fernandes <joelaf@google.com>
Diffstat (limited to 'libmemunreachable')
-rw-r--r--libmemunreachable/MemUnreachable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmemunreachable/MemUnreachable.cpp b/libmemunreachable/MemUnreachable.cpp
index 529a0437e..b160de906 100644
--- a/libmemunreachable/MemUnreachable.cpp
+++ b/libmemunreachable/MemUnreachable.cpp
@@ -244,7 +244,7 @@ bool MemUnreachable::ClassifyMappings(const allocator::vector<Mapping>& mappings
} else if (mapping_name == "[anon:libc_malloc]") {
// named malloc mapping
heap_mappings.emplace_back(*it);
- } else if (has_prefix(mapping_name, "/dev/ashmem/dalvik")) {
+ } else if (has_prefix(mapping_name, "[anon:dalvik-")) {
// named dalvik heap mapping
globals_mappings.emplace_back(*it);
} else if (has_prefix(mapping_name, "[stack")) {