Add zygote space to Dalvik Heap
Broken by
https://android-review.googlesource.com/#/c/115446/
This change fixes it by correctly putting the zygote in Dalvik Heap
instead of Dalvik Other.
Bug: 18447855
(cherry picked from commit 7fc9176c8a)
Change-Id: I9293e5d3f55ccfb2c93c6aacbf6abc164eacb10b
This commit is contained in:
@@ -272,6 +272,7 @@ static void read_mapinfo(FILE *fp, stats_t* stats)
|
||||
subHeap = HEAP_DALVIK_LINEARALLOC;
|
||||
} else if ((strstr(name, "/dev/ashmem/dalvik-alloc space") == name) ||
|
||||
(strstr(name, "/dev/ashmem/dalvik-main space") == name) ||
|
||||
(strstr(name, "/dev/ashmem/dalvik-zygote space") == name) ||
|
||||
(strstr(name, "/dev/ashmem/dalvik-non moving space") == name)) {
|
||||
// This is the regular Dalvik heap.
|
||||
whichHeap = HEAP_DALVIK;
|
||||
|
||||
Reference in New Issue
Block a user