commit | c9a65383f9cc089e1b3eeb763ffcba9188d1a345 | [log] [tgz] |
---|---|---|
author | Jing Ji <jji@google.com> | Wed Jun 30 11:25:37 2021 -0700 |
committer | Jing Ji <jji@google.com> | Wed Jun 30 11:25:37 2021 -0700 |
tree | 721d4a8efd3df7235233cdb0e46c04c4e08b456c | |
parent | 2ce2d91d1e7d0632b242ce38456b3d939a8f8611 [diff] |
Relax the lock in getMemoryStateForProcesses Metrics need to be pulled in time while the lock could delay that. The oom adj score in the returned data set could be inconsitent from the actual one but other data fields are not and it's preferrable to pull them. Bug: 192440905 Test: atest CtsStatsdAtomHostTestCases:ProcessMemoryStatsTests Change-Id: I055b8baa87d53114de51b65e3f483635441e5ddc