Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 28b2c8a8 authored by Kweku Adams's avatar Kweku Adams
Browse files

Reduce memory usage.

1. Make sure strings are interned so that memory isn't wasted on duplicate
   strings.
2. Most of the memory used by the TARE system was made up of the
   Transaction objects. The Transaction history is only kept for
   debugging purposes, so it can be reduced without affecting the
   policy. Reduce the number of transactions kept in memory by 92% for
   user builds to reduce the memory used by the TARE system by 90-92%.

Bug: 288479057
Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/tare
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/tare
Change-Id: Ic12a54a3d12be60a7fe20bb62931e8f2e62f1475
parent f63877d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment