Increase the Message pool size

Change-Id: If609c9ffbea800ff6409b0096a82f0b899f29343
This commit is contained in:
Romain Guy
2012-05-06 16:10:34 -07:00
parent 1f59e5c19b
commit a2ad656924

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.