commit | c4cbfcb8d044cea99e2471ce5c401cd959b6cdfe | [log] [tgz] |
---|---|---|
author | Scott Barta <sbarta@google.com> | Wed Mar 28 16:16:50 2012 -0700 |
committer | Scott Barta <sbarta@google.com> | Fri Apr 13 09:57:57 2012 -0700 |
tree | f3540d4c4fb68595c7aba3d7d5af5685533781e4 | |
parent | 77e2f963d4bcac5e0a4704cd4ea684b04735053e [diff] |
Creates a pooled ByteArrayOutputStream Creates a version of ByteArrayOutputStream that uses a pool of buffers instead of always allocating them fresh. This reduces heap churn and improves GC performance. Change-Id: I296ba4be7174d2b768b16bc02df6972f25e86bc2