commit | 7b8091ad7c0292bc17c666a9eae27a2e0f7ee4da | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Tue Jun 08 10:58:59 2021 -0700 |
committer | Ryan Mitchell <rtmitchell@google.com> | Tue Jun 08 14:25:20 2021 -0700 |
tree | 1b94c5f60bc0f1a9a58a2b700c0339a345b775a1 | |
parent | 767e34fb174d2c6958dff96c585f9d997b941700 [diff] |
ResourcesImpl.ThemeImpl NativeAllocationRegistry Native allocations that hold theme data can be several KBs. Registering the native allocation using NativeAllocationRegistry helps induce the GC to free the malloced memory sooner and alleviate memory pressure. Bug: 187883085 Bug: 141198925 Test: atest ResourcesPerfWorkloads Change-Id: I2710cfea19565ea8aaf2b5fbd7b2c05d9cb17182