diff options
| author | 2023-12-19 22:22:56 +0000 | |
|---|---|---|
| committer | 2024-01-02 23:31:55 +0000 | |
| commit | fc28e3136f70e5e19ae7cc7519a0520f44adc286 (patch) | |
| tree | 64c7f8dfdee7911c000f66b004608890a95099e8 /api/coverage/tools | |
| parent | bd082bc145fe815ccc43f88c7a5648908fb5c6bd (diff) | |
MessageQueue: track tail of queue
Give us a chance at avoiding O(N) behavior when inserting an item at the
tail of the queue. This patch showed a significant (~35.7%) decrease in
system_server contention during post boot period.
This code is guarded by Flags.messagequeueTailTracking().
Bug: 305311707
Test: atest MessageQueueTest
Test: boot system and use it
Change-Id: I19a258bc092ca49d612080d25be548524f86fddc
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions