am 8fb62329: Merge "Increase the Message pool size" into jb-dev

* commit '8fb62329fc6691002c5bb41c67c0ccc977d72adf':
  Increase the Message pool size
This commit is contained in:
Romain Guy
2012-05-06 20:14:00 -07:00
committed by Android Git Automerger

View File

@@ -97,8 +97,8 @@ public final class Message implements Parcelable {
private static Message sPool;
private static int sPoolSize = 0;
private static final int MAX_POOL_SIZE = 10;
private static final int MAX_POOL_SIZE = 50;
/**
* Return a new Message instance from the global pool. Allows us to
* avoid allocating new objects in many cases.