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
Loading
Please register or sign in to comment