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

Commit 5722e835 authored by Nicolas Geoffray's avatar Nicolas Geoffray
Browse files

Add /memfd:jit-zygote-cache to HEAP_DALVIK_OTHER_ZYGOTE_CODE_CACHE.

Forgot this in the previous commit.

Bug: 119800099
Test: dumpsys meminfo on blueline
Change-Id: I268ff0b68cfa9386c2805da13cf7c0db4bf28fd1
parent 363a602b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -321,6 +321,9 @@ static void load_maps(int pid, stats_t* stats, bool* foundSwapPss)
        } else if (base::StartsWith(name, "/memfd:jit-cache")) {
          which_heap = HEAP_DALVIK_OTHER;
          sub_heap = HEAP_DALVIK_OTHER_APP_CODE_CACHE;
        } else if (base::StartsWith(name, "/memfd:jit-zygote-cache")) {
          which_heap = HEAP_DALVIK_OTHER;
          sub_heap = HEAP_DALVIK_OTHER_ZYGOTE_CODE_CACHE;
        } else if (base::StartsWith(name, "[anon:")) {
            which_heap = HEAP_UNKNOWN;
            if (base::StartsWith(name, "[anon:dalvik-")) {