summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Li Li <dualli@google.com> 2022-11-10 09:59:24 -0800
committer Li Li <dualli@google.com> 2022-11-16 03:31:16 +0000
commit5b55587f5bc298cbf9f5b140a1fe06b410cbb51b (patch)
treefcbb333d2282915e05d71c0c55b86f872cdcdd06 /libs/androidfw/StringPool.cpp
parent00399566696219315262625450fba6dd557a42ae (diff)
Freezer: improve file lock exemption
When a process becomes cached and holds file locks blocking other processes, check whether those blocked processes are also in cached mode. If they are also cached, freeze the current process. Otherwise, Skip the current process to avoid deadlock. Bug: 245994713 Bug: 253913470 Test: atest ProcLocksReaderTest Test: verify apps with deadlock can be frozen Change-Id: I8635bf877bbe4404cc66955f1946444265680246
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions