commit | e9d94421825dd90f0036d0dbde59b1f00f85f23b | [log] [tgz] |
---|---|---|
author | Jerry Zhang <zhangjerry@google.com> | Wed Jan 18 12:03:56 2017 -0800 |
committer | Jerry Zhang <zhangjerry@google.com> | Wed Jan 18 17:33:07 2017 -0800 |
tree | 7672335f3cb55403089d5bf5f6f42338d4909cde | |
parent | 58cdf4a1ac89e1e7498a2e7302f8b90e34fe45d2 [diff] |
Keep ScopedEndpointBufferAlloc in variables This way they don't immediately destruct. Also up the logging for an allocation failure and use posix_madvise to possibly improve memory performance. Test: Transfer files and verify that allocs are scoped properly Bug: 30976142 Change-Id: If8d2c03cefcc98a83bbb57618c35337529437f73