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: I6e84736a2f2e9951b407caa726144e875d6fd6ea
Loading
Please register or sign in to comment