diff options
author | Rafal Slawik <rslawik@google.com> | 2018-11-15 12:39:33 +0000 |
---|---|---|
committer | Rafal Slawik <rslawik@google.com> | 2018-11-19 15:44:06 +0000 |
commit | 3bea895a6240476ab638db84901e234236268d34 (patch) | |
tree | 1f43b82c0c027a9192d71dbfe14ac6282a87d7ab /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7e0404f1d319e34bd52be98e4382a539b2a022dc (diff) |
Add ProcessMemoryHighWaterMark atom
Collection of the RSS high-water mark is moved to a separate atom to
improve performance, increase flexibility and overcome security
constrainsts.
Performance: avoid reading /proc/pid/status in ProcessMemoryState;
flexibility: allow pulling RSS high-water mark on a different schedule;
security: add single point where we can trigger the high-water mark
reset.
The RSS high-water mark will be removed from ProcessMemoryState and
NativeProcessMemoryState atoms in a followup-up CL to ensure that the
collected data is continuous.
Bug: 119598534
Test: atest UidAtomTests#testProcessMemoryHighWaterMark
Change-Id: I52da7b5e695f771f1551e1f6a6a773bded4504d1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions