diff options
author | Ryan Mitchell <rtmitchell@google.com> | 2021-06-08 10:58:59 -0700 |
---|---|---|
committer | Ryan Mitchell <rtmitchell@google.com> | 2021-06-08 14:25:20 -0700 |
commit | 7b8091ad7c0292bc17c666a9eae27a2e0f7ee4da (patch) | |
tree | 1b94c5f60bc0f1a9a58a2b700c0339a345b775a1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions