Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1576)

Issue 875573006: Ensure deterministic heap prioritization of raster task nodes (Closed)

Created:
5 years, 10 months ago by jdduke (slow)
Modified:
5 years, 10 months ago
Reviewers:
vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org, vmiura
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure deterministic heap prioritization of raster task nodes Previously, task nodes were all fed the same priority. While certain heap implementations ensured a consistent prioritization given the same task priority and input ordering, this is not guaranteed by the spec. In particular, Android's libc++ implementation appears to differ in this respect, resulting in tasks from different sets being processed in an order different from node creation order. Avoid this by including the task set type in the node priority. All conforming heap implementations should now yield the same ordering with respect to task set type. BUG=427718 Committed: https://crrev.com/d2f00426f585653d2c8d6e16081c3a53538d4e1e Cr-Commit-Position: refs/heads/master@{#313972}

Patch Set 1 #

Patch Set 2 : Code review #

Total comments: 2

Patch Set 3 : Fix type case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -9 lines) Patch
M cc/resources/bitmap_tile_task_worker_pool.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M cc/resources/gpu_tile_task_worker_pool.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M cc/resources/one_copy_tile_task_worker_pool.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M cc/resources/pixel_buffer_tile_task_worker_pool.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/tile_task_worker_pool.h View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/tile_task_worker_pool.cc View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M cc/resources/zero_copy_tile_task_worker_pool.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
jdduke (slow)
vmpstr@: PTAL, thanks (see https://codereview.chromium.org/835633003/ for more context).
5 years, 10 months ago (2015-01-30 17:35:06 UTC) #2
vmpstr
On 2015/01/30 17:35:06, jdduke wrote: > vmpstr@: PTAL, thanks (see https://codereview.chromium.org/835633003/ for more > context). ...
5 years, 10 months ago (2015-01-30 18:22:28 UTC) #3
jdduke (slow)
On 2015/01/30 18:22:28, vmpstr wrote: > On 2015/01/30 17:35:06, jdduke wrote: > > vmpstr@: PTAL, ...
5 years, 10 months ago (2015-01-30 18:43:35 UTC) #4
vmpstr
lgtm https://codereview.chromium.org/875573006/diff/20001/cc/resources/tile_task_worker_pool.cc File cc/resources/tile_task_worker_pool.cc (right): https://codereview.chromium.org/875573006/diff/20001/cc/resources/tile_task_worker_pool.cc#newcode101 cc/resources/tile_task_worker_pool.cc:101: unsigned TileTaskWorkerPool::kTileTaskPriorityBase = 10U; nit: lower case u ...
5 years, 10 months ago (2015-01-30 18:51:58 UTC) #5
jdduke (slow)
Thanks for review! https://codereview.chromium.org/875573006/diff/20001/cc/resources/tile_task_worker_pool.cc File cc/resources/tile_task_worker_pool.cc (right): https://codereview.chromium.org/875573006/diff/20001/cc/resources/tile_task_worker_pool.cc#newcode101 cc/resources/tile_task_worker_pool.cc:101: unsigned TileTaskWorkerPool::kTileTaskPriorityBase = 10U; On 2015/01/30 ...
5 years, 10 months ago (2015-01-30 19:02:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/875573006/40001
5 years, 10 months ago (2015-01-30 19:03:24 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-01-30 20:12:17 UTC) #9
commit-bot: I haz the power
5 years, 10 months ago (2015-01-30 20:14:18 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d2f00426f585653d2c8d6e16081c3a53538d4e1e
Cr-Commit-Position: refs/heads/master@{#313972}

Powered by Google App Engine
This is Rietveld 408576698