Skip to content

Commit 8fb6232

Browse files
Romain GuyAndroid (Google) Code Review
authored andcommitted
Merge "Increase the Message pool size" into jb-dev
2 parents 9762102 + a2ad656 commit 8fb6232

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/java/android/os/Message.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ public final class Message implements Parcelable {
9797
private static Message sPool;
9898
private static int sPoolSize = 0;
9999

100-
private static final int MAX_POOL_SIZE = 10;
101-
100+
private static final int MAX_POOL_SIZE = 50;
101+
102102
/**
103103
* Return a new Message instance from the global pool. Allows us to
104104
* avoid allocating new objects in many cases.

0 commit comments

Comments
 (0)