We should ensure that the TaskPool's queue of tasks is full before making any effort to consume messages from our workers. This will ensure that workers always have something to do. In extreme cases (ie, when we have many worker processes and short tasks), this is one of our bottlenecks.
Pull request: https://github.com/WebKit/WebKit/pull/4314
<rdar://problem/99873350>
Committed 254456@main (df9c2ab6a703): <https://commits.webkit.org/254456@main> Reviewed commits have been landed. Closing PR #4314 and removing active labels.
Committed 252432.415@safari-7614-branch (fe98e9029a3e): <https://commits.webkit.org/252432.415@safari-7614-branch> Reviewed commits have been landed. Closing PR #65 and removing active labels.