commit | affe09110e4c1af4d625b560916d8e8c7e89fe03 | [log] [tgz] |
---|---|---|
author | Francois Doray <fdoray@chromium.org> | Tue Jun 30 20:29:21 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 30 20:29:21 2020 |
tree | 075bbe438bb3ebd68582d7dc3425e15c0d787a18 | |
parent | 466ad6082d68e91565386aee55551e68432c6ac5 [diff] |
[cc] Run OneCopyRasterBufferProvider playback at normal thread priority. OneCopyRasterBufferProvider::Playback() acquires the GpuChannelHost, which is also acquired from high priority tasks. It should not run at background thread priority because that can cause priority inversions, as shown by Slow Reports (see the bug). A follow-up CL https://crrev.com/c/2157659 adds a DCHECK to ensure that the GpuChannelHost lock does not cause other priority inversions than the one fixed in this CL. Bug: 1072756 Change-Id: I3cd7bd9a67e15c0079db35aeab3d1805e2b61835 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2240141 Commit-Queue: François Doray <fdoray@chromium.org> Reviewed-by: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#784112}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.