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

Commit 7fc9176c authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

Add zygote space to Dalvik Heap

Broken by
https://googleplex-android-review.git.corp.google.com/#/c/590612/

This change fixes it by correctly putting the zygote in Dalvik Heap
instead of Dalvik Other.

Bug: 18447855

Change-Id: I4a58480f1ef1eb17e760245d8690ce92e28ebea3
parent 2e982258
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -275,6 +275,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;