summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@android.com> 2022-09-16 10:23:54 -0600
committer Jeff Sharkey <jsharkey@android.com> 2022-09-21 12:59:47 -0600
commit0060bd42533c195dd587cc79a4ee0e0a8ea90ec9 (patch)
treeb3e04fe1af5f7e9eefb6239fd925110dc6c5ee32 /libs/androidfw/StringPool.cpp
parent527e10ccb709f5f5fafaef4ef78f6612aa2ad3b7 (diff)
BroadcastQueue: limit runnable to avoid starvation.
When a process has a large number of pending broadcasts, they could end up starving other runnable processes. This change retires a running queue if we've made reasonable progress and someone else is waiting. Bug: 245771249 Test: atest FrameworksMockingServicesTests:BroadcastQueueTest Change-Id: Ie60625d8fba577ccf1cb8d1cee212fffabb68ef7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions