diff options
author | Wale Ogunwale <ogunwale@google.com> | 2018-07-03 07:30:57 -0700 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2018-07-03 07:30:57 -0700 |
commit | 9333840e902a335ffa5e2fcfc08b56f2c2d993a7 (patch) | |
tree | 17a0b755a1859643b870a852ac68505bf39997e6 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 817c832eb4d1e1248d6b5a86eb2e5492efe6b89c (diff) |
Reduce object allocation in AMS.computeOomAdjLocked()
Follow-up clean-up CL to ag/4246927 where we introduced structured
way of communicating process state to WM. However, in that CL we
were creating a few objects whenever AMS.computeOomAdjLocked() is
called. This CL corrects that with a temp. object/class pattern.
Test: existing tests pass.
Bug: 80414790
Change-Id: I97241b3d71e10610cca562397d33c8fa77727efa
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions