Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99f62828 authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

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 7fc9176c)

Change-Id: I9293e5d3f55ccfb2c93c6aacbf6abc164eacb10b
parent c3507d10
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;