diff options
| author | 2020-04-24 18:27:51 -0700 | |
|---|---|---|
| committer | 2020-05-20 22:15:58 +0000 | |
| commit | 7dacc699a4692a3754a270a5e2d93138899242d2 (patch) | |
| tree | 98c72219dd79085fb94a1dab0ac2e4d1efbb87d3 /libs/gui/BufferQueueThreadState.cpp | |
| parent | dd44f7465d53fe155c03c0b1129c467a1f1c5830 (diff) | |
binder: Parcel avoid too small initial allocation
When a transaction is being sent, frequently many allocations are in a
row. In order to avoid all these allocations, creating a minimum
allocation size here. A test is also added which ensures that a basic
transaction takes exactly one allocation.
Bug: 150149045
Test: atest binderAllocationLimits
Change-Id: I88ab066328158a8b73dd81201b796f247c4dbbd0
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions