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

am: 6c05510d86

Change-Id: Ibe8bb89f39082f73f3a4e7bdcf34ebdf5dc2f2b6
This commit is contained in:
Ryan Prichard
2019-07-23 13:33:03 -07:00
committed by android-build-merger

View File

@@ -259,6 +259,8 @@ static void load_maps(int pid, stats_t* stats, bool* foundSwapPss)
which_heap = HEAP_NATIVE; which_heap = HEAP_NATIVE;
} else if (base::StartsWith(name, "[stack")) { } else if (base::StartsWith(name, "[stack")) {
which_heap = HEAP_STACK; which_heap = HEAP_STACK;
} else if (base::StartsWith(name, "[anon:stack_and_tls:")) {
which_heap = HEAP_STACK;
} else if (base::EndsWith(name, ".so")) { } else if (base::EndsWith(name, ".so")) {
which_heap = HEAP_SO; which_heap = HEAP_SO;
is_swappable = true; is_swappable = true;