diff options
| author | 2022-11-03 12:35:19 +0000 | |
|---|---|---|
| committer | 2022-11-03 13:33:31 +0000 | |
| commit | e4d86a6e1e6b0503ffe6a3fac3bae7ab98d5ce97 (patch) | |
| tree | ffd1b12c9cda38e2645290e1737422dacdaf226f /libs/androidfw/ResourceTimer.cpp | |
| parent | dbca49657905b37c9518c89329c1fe72fc113322 (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