summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupData.cpp
diff options
context:
space:
mode:
author Matt Buckley <mattbuckley@google.com> 2023-09-14 22:56:50 +0000
committer Matt Buckley <mattbuckley@google.com> 2023-09-22 20:56:11 +0000
commit237bb3855ca87f653cea1ae0cee8992102e6b47c (patch)
treefc72049362bd65fa675ff0e373ab089349a20921 /libs/androidfw/BackupData.cpp
parent87765575a7e8e163e4d61f325d7b6e1f8947a3af (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/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions