summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jiaquan Si <sijiaquan@oppo.corp-partner.google.com> 2022-09-20 17:33:52 +0800
committer Patrick Baumann <patb@google.com> 2022-12-07 22:37:11 +0000
commit82c14a0db7aaf4a29c93468be16b46c61caa3052 (patch)
tree7b04fdc6baec322f5106414e1b334eee848f4c2c /libs/androidfw/StringPool.cpp
parent98652d25981b3eb45b61f8d8c72c163cb3844575 (diff)
Set threshold of historical sessions size in PackageInstallerService
In extreme cases, size of historical sessions recorded in PackageInstallerService is very large, resulting in huge memory usage in system server. This commit adds threshold of historical sessions size and the oldest historical sessions will be cleared if the list size reaches the threshold. Bug: 248960979 Fixed: 248960979 Test: presubmit Signed-off-by: Jiaquan Si <sijiaquan@oppo.corp-partner.google.com> Change-Id: Ie0af8f00e73a59bdacc4b9a6f5bea0a2a3f9258b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions