commit | a39f3dbbcf4fa69250447aa1638ee55aca1bd816 | [log] [tgz] |
---|---|---|
author | Devin Moore <devinmoore@google.com> | Mon Aug 15 23:28:55 2022 +0000 |
committer | Devin Moore <devinmoore@google.com> | Mon Aug 15 23:28:55 2022 +0000 |
tree | 2733af36761cc5d31895fa6caf32b658616e9942 | |
parent | 372c4810c7392aa40cd230910d83cf638dbb368b [diff] |
Create an empty String8 to cause the first allocation There is an optimization that allocates a static empty String8 the first time it's needed. This caused this test case to behave differently when it was run alone vs when run with the rest of the binderAllocationLimits test cases. Test: atest binderAllocationLimits:binderAllocationLimits.BinderAllocation#SmallTransaction Bug: 242614248 Change-Id: Idda3065796a23d0f0ec0a79dad34e2eeb554fe38