am 8fb62329: Merge "Increase the Message pool size" into jb-dev
* commit '8fb62329fc6691002c5bb41c67c0ccc977d72adf': Increase the Message pool size
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user