commit | 232a0456e7353eb38af89646181ff48e531774bf | [log] [tgz] |
---|---|---|
author | Soonil Nagarkar <sooniln@google.com> | Sat Dec 11 11:19:40 2021 -0800 |
committer | Soonil Nagarkar <sooniln@google.com> | Mon Dec 13 20:20:26 2021 +0000 |
tree | 0bf74bf7eaeea84984c71c22aef0c099019f0342 | |
parent | a66bc891ceecbaea77d37b4e71643332d3e70251 [diff] |
Reduce allocations on location delivery Allocating a new Binder object for every location delivery is causing resource starvation when location deliveries are not processed fast enough. Instead, allocate an object per registration, to substantially reduce the number of total allocations. Bug: 206340085 Test: manual Change-Id: Ib0ce770a059acab37b431cb557f96c7fc008aec7