square/okhttp — pull request #372 by lingmingyb (2013-12-21 07:15:52+00:00)
Title: add memory pool to optimize the performance and avoid GC thread.

This patch adds a memory pool for SpdyConnection to reuse the memory for stream creating. The memory pool can optimise the performance and avoid triggering GC thread to suspend all the application thread. Avoid GC is crucial for application performance as in my test bench if lacking of memory(especially for mobile apps), every time when we create a stream, the GC would be triggered to halt the app for dozens of milliseconds.

I can not run the test case locally(seems some configuration problems), so have to rely on the official validation processing. Sorry for that.