summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-11-03 12:35:19 +0000
committer Riddle Hsu <riddlehsu@google.com> 2022-11-03 13:33:31 +0000
commite4d86a6e1e6b0503ffe6a3fac3bae7ab98d5ce97 (patch)
treeffd1b12c9cda38e2645290e1737422dacdaf226f /libs/androidfw/ResourceTimer.cpp
parentdbca49657905b37c9518c89329c1fe72fc113322 (diff)
Remove manual GC after unfreezing screen
The modern VM should be efficient enough to do GC automatically on a dedicated thread. The removal can avoid significant random delay by the explicitly GC on display thread. About the legacy comment of "remote references", there is no strong association with display change. There could have other cases to produce many releasable remote references, but so far they are no problem without an explicitly GC. Hence remove the manual GC to be more general. Bug: 255687140 Test: CtsWindowManagerDeviceTestCases Change-Id: Ib620894b103ae33f1859a6e1d9627703eeb7b0ae
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions