commit | 734116201d021cccd1d446fe8300f995a0019e42 | [log] [tgz] |
---|---|---|
author | Marissa Wall <marissaw@google.com> | Fri Jan 25 10:45:41 2019 -0800 |
committer | Marissa Wall <marissaw@google.com> | Mon Feb 04 13:10:57 2019 -0800 |
tree | b33662ce1d8713ea269869c06705ceea7bae5df7 | |
parent | df93796a1b8455ae1653f22270e13b0a6494d822 [diff] |
blast: implicitly cache buffers Sending buffers between processes is expensive so they must be cached. Currently buffers are explictly cached. This patch updates them to implicitly cache them per client process. The max buffers per process is 64. After that, the cache will try to evict buffers that have been destroyed. If it doesn't find any, it will evict the least recently used buffer. Test: Transaction_test Bug: 80477568 Change-Id: Id048d32e05e19d0ce875212cbcddf997736110fd