Android: GCMDriver AsyncTasks moved to THREAD_POOL_EXECUTOR
Currently, AsyncTask.execute() defaults to the SERIAL_EXECUTOR. This exector is good for preventing concurrency errors since it guarantees serial execution, but bad for performance since the entire app shares this single queue. It looks like these callsites can use the THREAD_POOL_EXECUTOR instead, since these usages don't appear to rely on the concurrency guarantees that SERIAL_EXECUTOR provides. Bug: 869907 Change-Id: If2c63496e7851db697e313429baa10508aeb4753 Reviewed-on: https://chromium-review.googlesource.com/1162691Reviewed-by:Michael van Ouwerkerk <mvanouwerkerk@chromium.org> Commit-Queue: Sam Maier <smaier@chromium.org> Cr-Commit-Position: refs/heads/master@{#581218}
Showing
Please register or sign in to comment