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

Commit 6c05510d authored by Ryan Prichard's avatar Ryan Prichard Committed by android-build-merger
Browse files

Merge "Categorize [anon:stack_and_tls:{}] as stack memory" into stage-aosp-master

am: 4657a164

Change-Id: Ib8079a3cc7367db10806da5bab80f402530ce8a7
parents 0eb65bc2 4657a164
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -259,6 +259,8 @@ static void load_maps(int pid, stats_t* stats, bool* foundSwapPss)
            which_heap = HEAP_NATIVE;
        } else if (base::StartsWith(name, "[stack")) {
            which_heap = HEAP_STACK;
        } else if (base::StartsWith(name, "[anon:stack_and_tls:")) {
            which_heap = HEAP_STACK;
        } else if (base::EndsWith(name, ".so")) {
            which_heap = HEAP_SO;
            is_swappable = true;