summaryrefslogtreecommitdiff
path: root/libsparse/sparse.cpp
diff options
context:
space:
mode:
authorSandeep Patil <sspatil@google.com>2019-04-17 11:38:15 -0700
committerSandeep Patil <sspatil@google.com>2019-04-17 12:11:50 -0700
commita42207e2e33710f3aa4c72d660f623f8754b81ab (patch)
tree82b2d9bdfe72d0e3900a305b418d875a3585f2f1 /libsparse/sparse.cpp
parent5c421695f0d6139632692645f755c79d9f163fc1 (diff)
procrank: do not keep process maps around
procrank's usage in its output shows 20x increase from last year. This is because it is keeping the process maps around until termination. Fix that by getting rid of ProcMemInfo objects when done parsing /proc/<pid>/maps,pagemap. Note that the total allocations do not change and have not necessarily regressed from Pie. Bug: 130672819 Test: adb shell procrank | grep 'procrank\|cmdline' Change-Id: Ib7bf960ed1d053347fcfc0c8aee9019607a1eb01 Signed-off-by: Sandeep Patil <sspatil@google.com>
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions