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
commit6f01637bf3125a2ceeacbb1d5a74ff6ed2a700cb (patch)
tree82b2d9bdfe72d0e3900a305b418d875a3585f2f1 /libsparse/sparse.cpp
parent1e3961007845ef5631339abfb5d59dc0892f419a (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