diff options
| author | Romain Guy <romainguy@google.com> | 2012-05-06 20:11:30 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-05-06 20:11:30 -0700 |
| commit | 8fb62329fc6691002c5bb41c67c0ccc977d72adf (patch) | |
| tree | 9d618b1621cc6efc3323d6ba2bd80cf17dcebc67 /core/java/android | |
| parent | 9762102794b90d40d69a9a31aa8cd1538f8151f8 (diff) | |
| parent | a2ad65692481510496e367b593facf778f49249b (diff) | |
Merge "Increase the Message pool size" into jb-dev
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/os/Message.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/os/Message.java b/core/java/android/os/Message.java index 4aa7fe2df272..0abc149c8428 100644 --- a/core/java/android/os/Message.java +++ b/core/java/android/os/Message.java @@ -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. |
