Only print starvation messages for >1 thread.
These kind of messages cause a lot of confusion:
binder thread pool (1 threads) starved for 4922 ms
what this really says is that one thread was busy
with a transaction for almost 5 seconds. It does
*not* necessarily mean that another transaction
was pending; if there is only a single-threaded
client, nobody would be blocked on this, and
it's not really starvation.
Only print the message when there's more than
one thread in the pool. Note that even in that
case, it doesn't necessarily mean starvation,
but it's a somewhat stronger signal.
Bug: 37647467
Test: mma
Change-Id: I1526690462ce144a6136e4da171c040c5c757e2a
1 file changed