DescriptionAvoid holding |incoming_queue_lock_| while waking up the message loop.
When constraining chrome to a limited number of cores (read: 2), it
appears that the write syscall that wakes up the message loop thread
may take a significant amount of time (>80ms) despite being a non-blocking
write. During that time, if |incoming_queue_lock_| is being held, any other
thread that tried to post a task to that message queue will be blocked in
trying to acquire that lock.
Committed: https://crrev.com/7fa6701bc5183bd5a73203d4fe1309f75ccfd5b4
Cr-Commit-Position: refs/heads/master@{#398458}
Patch Set 1 #Patch Set 2 : Rebase #
Total comments: 14
Patch Set 3 : Address comments. #Patch Set 4 : rebase #Patch Set 5 : Rebase #
Dependent Patchsets: Messages
Total messages: 14 (3 generated)
|