diff options
author | 2023-09-14 22:56:50 +0000 | |
---|---|---|
committer | 2023-09-22 20:56:11 +0000 | |
commit | 237bb3855ca87f653cea1ae0cee8992102e6b47c (patch) | |
tree | fc72049362bd65fa675ff0e373ab089349a20921 /libs/androidfw/BackupHelpers.cpp | |
parent | 87765575a7e8e163e4d61f325d7b6e1f8947a3af (diff) |
Mitigation for mass GC deletion
Delete sessions after 2 seconds from when CC::destroy() is called, to
ensure they get the chance to be re-used without being destroyed but
still get destroyed if they aren't re-used.
This also adds several new unit tests around the functionality to ensure
its thread-safety.
Test: hwuitest
Bug: 300360668
Change-Id: Icc35293ff49e14dc3599fc12d153f70acd29042a
Merged-In: Icc35293ff49e14dc3599fc12d153f70acd29042a
(cherry picked from commit 0daae6aacc7b4de111edb28dd2d9013e97843557)
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions