diff options
author | Jing Ji <jji@google.com> | 2021-02-19 14:05:24 -0800 |
---|---|---|
committer | Jing Ji <jji@google.com> | 2021-02-19 15:36:35 -0800 |
commit | 64f88fa17344ecea8c9503c9f0ba95a8f9e754bb (patch) | |
tree | 033bf1a9a918b475eafc1d90bff8d280936a16d6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e3ff87dd32045481a82d48d05a69cd6e32832ebf (diff) |
Handle the potential recursions within updateOomAdj
Some code paths within the updateOomAdj* would potentially call into
the updateOomAdj* again and result in undefined behavior. This CL
adds the handling for it - in case of recursion is encountered,
the oomAdj update request will be enqueued, and at the end of the
current pass of updateOomAdj*, we'll do another updateOomAdj* to
handle those requests.
Bug: 167773591
Bug: 162476856
Test: atest CtsAppTestCases
Test: atest MockingOomAdjusterTests
Change-Id: I4788ba12f06744204c68382b399216f232059138
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions