commit | ed7393274af2f268fcdede5f1a3d72c9af842b8e | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Tue Sep 21 15:14:14 2010 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Tue Sep 21 15:41:33 2010 -0700 |
tree | 37d4ec6892e9543e8e083326df8335a4c2661de2 | |
parent | cce0cd138dd0dc338db59083052aca01a51bd52d [diff] |
Simplify and optimize MessageQueue loop. Avoids allocating new idle handler arrays on each iteration since we only need one to copy into. Coalesced the synchronized blocks. Hoisted the call to Binder.flushPendingCommands() outside of the synchronized block. Change-Id: Iabb6b633627954564bdd5d09e696663223407f47