diff options
author | Rhed Jao <rhedjao@google.com> | 2021-02-04 19:12:02 +0800 |
---|---|---|
committer | Rhed Jao <rhedjao@google.com> | 2021-02-23 12:12:26 +0800 |
commit | ccf04851e6d7cbac8794e9d96e947f6800ec62bc (patch) | |
tree | 4d9a17d038e5ae691886461f3a726a609674ca31 /rs/java/android/renderscript/ProgramStore.java | |
parent | 3278c403c7b8cb730d3f4c1a81b2dad8ead6603a (diff) |
Reduce lock contention in the package manager dump
Applications frequently anr while the bugreport is capturing.
The problem is relevant to the package manager held the lock
contention long time in its dump. This patch removes the long
lock in the dump. Instead, it adds locks to each dump section.
A new `dump` function in the ComputerEngine is added also. The
sections which could be dumped withoud a lock are moved to it.
Bug: 178304105
Test: adb bugreport
Change-Id: Id3020ce335b81d79a1ce7ecb17d5a6cc1e428560
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions