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

Issue 73923003: Shared Raster Worker Threads (Closed)

Created:
7 years, 1 month ago by sohanjg
Modified:
5 years, 1 month ago
Reviewers:
jamesr, reveman, vmpstr
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Shared Raster Worker Threads This CL will share worker pool threads across LTHI for a single process. Idea is to reduce the number of threads used per process. For this, we implement WorkerPool::Inner as singleton, and LTHI/WorkerPool would share the same instance per process. Reviewer: reveman@chromium.org BUG=239423 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245526

Patch Set 1 #

Total comments: 8

Patch Set 2 : Task namespace for WorkerPool #

Total comments: 12

Patch Set 3 : WIP - Mapped Task Pool for Worker Threads #

Total comments: 2

Patch Set 4 : WIP - Mapped Task Struct and Priority Queue #

Total comments: 21

Patch Set 5 : WIP - Clean up and Review Comments Changes #

Patch Set 6 : Code cleanup and pre-submit issue changes #

Total comments: 13

Patch Set 7 : WIP - code review changes #

Total comments: 49

Patch Set 8 : WIP - Code Review Changes #

Total comments: 5

Patch Set 9 : WIP - code review changes #

Total comments: 90

Patch Set 10 : WIP - code review changes #

Total comments: 53

Patch Set 11 : WIP - nits + code review changes #

Total comments: 52

Patch Set 12 : WIP - redisgn shutdown logic + other nits #

Total comments: 22

Patch Set 13 : WIP - Shutdown re-design review + nits #

Patch Set 14 : WIP - Shutdown re-design review 2 #

Total comments: 8

Patch Set 15 : WIP - make API to retrieve number of raster threads consistent + nits #

Total comments: 10

Patch Set 16 : WIP - realigning code to get number of raster threads + nits #

Total comments: 30

Patch Set 17 : WIP - number of raster thread code review + nits #

Total comments: 22

Patch Set 18 : WIP - code review changes #

Total comments: 33

Patch Set 19 : Rebase + ready_to_run_task_namespaces_ changes #

Total comments: 8

Patch Set 20 : Moving number of raster thread API to RasterWorkerPool + comments #

Total comments: 16

Patch Set 21 : Number of raster threads API comments #

Total comments: 35

Patch Set 22 : Code review changes #

Total comments: 17

Patch Set 23 : comments + nits #

Total comments: 11

Patch Set 24 : cc_unittest, cc_perftest changes + unit test + nits #

Total comments: 9

Patch Set 25 : Unit test updated #

Total comments: 8

Patch Set 26 : Unit test updated #

Total comments: 13

Patch Set 27 : Unit test updated #

Total comments: 11

Patch Set 28 : Unit Test nits #

Total comments: 2

Patch Set 29 : Change file mode + nit #

Total comments: 1

Patch Set 30 : Rebase for Commit #

Total comments: 4

Patch Set 31 : Rebase errors resolved #

Patch Set 32 : Build Error for Win, non dll-interface class used as base class for dll-interface class. #

Patch Set 33 : Build Error for Mac, macro conflict, moving setter to WorkerPool. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+581 lines, -370 lines) Patch
M AUTHORS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/picture_layer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -1 line 0 comments Download
M cc/resources/image_raster_worker_pool.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +0 lines, -3 lines 0 comments Download
M cc/resources/image_raster_worker_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -2 lines 0 comments Download
M cc/resources/picture_pile.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +0 lines, -4 lines 0 comments Download
M cc/resources/picture_pile.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +4 lines, -2 lines 0 comments Download
M cc/resources/picture_pile_base.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +0 lines, -2 lines 0 comments Download
M cc/resources/picture_pile_base.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 chunks +3 lines, -6 lines 0 comments Download
M cc/resources/picture_pile_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +3 lines, -1 line 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +0 lines, -3 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -2 lines 0 comments Download
M cc/resources/raster_worker_pool.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +1 line, -2 lines 0 comments Download
M cc/resources/raster_worker_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +2 lines, -5 lines 0 comments Download
M cc/resources/raster_worker_pool_perftest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/raster_worker_pool_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -2 lines 0 comments Download
M cc/resources/tile_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +0 lines, -2 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +0 lines, -5 lines 0 comments Download
M cc/resources/worker_pool.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +13 lines, -10 lines 0 comments Download
M cc/resources/worker_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 17 chunks +311 lines, -147 lines 0 comments Download
M cc/resources/worker_pool_perftest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/worker_pool_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 chunks +219 lines, -152 lines 0 comments Download
M cc/test/fake_tile_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 4 chunks +1 line, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_settings.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +0 lines, -10 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 97 (1 generated)
sohanjg
This is WIP patch, PTAL and let me know your thoughts.
7 years, 1 month ago (2013-11-15 16:12:41 UTC) #1
reveman
Some initial feedback. The patch is missing the critical part of task namespaces, without that, ...
7 years, 1 month ago (2013-11-15 17:21:40 UTC) #2
sohanjg
On 2013/11/15 17:21:40, David Reveman wrote: > Some initial feedback. The patch is missing the ...
7 years, 1 month ago (2013-11-21 08:33:16 UTC) #3
reveman
https://codereview.chromium.org/73923003/diff/130001/cc/base/switches.cc File cc/base/switches.cc (right): https://codereview.chromium.org/73923003/diff/130001/cc/base/switches.cc#newcode202 cc/base/switches.cc:202: int GetNumRasterThreads() { nit: indent 2 spaces not 4 ...
7 years, 1 month ago (2013-11-21 16:36:09 UTC) #4
vivekg
https://codereview.chromium.org/73923003/diff/130001/cc/base/switches.cc File cc/base/switches.cc (right): https://codereview.chromium.org/73923003/diff/130001/cc/base/switches.cc#newcode205 cc/base/switches.cc:205: command_line.GetSwitchValueASCII(cc::switches::kNumRasterThreads); In case kNumRasterThreads command line switch is not ...
7 years, 1 month ago (2013-11-21 17:18:12 UTC) #5
reveman
https://codereview.chromium.org/73923003/diff/130001/cc/base/switches.cc File cc/base/switches.cc (right): https://codereview.chromium.org/73923003/diff/130001/cc/base/switches.cc#newcode205 cc/base/switches.cc:205: command_line.GetSwitchValueASCII(cc::switches::kNumRasterThreads); On 2013/11/21 17:18:12, vivekg__ wrote: > In case ...
7 years, 1 month ago (2013-11-21 17:30:02 UTC) #6
vivekg
https://codereview.chromium.org/73923003/diff/130001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/130001/cc/resources/worker_pool.cc#newcode217 cc/resources/worker_pool.cc:217: wp_ = wp; Wouldn't it be better to have ...
7 years, 1 month ago (2013-11-22 04:44:50 UTC) #7
sohanjg
On 2013/11/21 16:36:09, David Reveman wrote: > https://codereview.chromium.org/73923003/diff/130001/cc/base/switches.cc > File cc/base/switches.cc (right): > > https://codereview.chromium.org/73923003/diff/130001/cc/base/switches.cc#newcode202 ...
7 years ago (2013-12-04 15:20:30 UTC) #8
reveman
We'll need a shared ready_to_run queue but I think it will be much simpler if ...
7 years ago (2013-12-04 16:25:49 UTC) #9
sohanjg
On 2013/12/04 16:25:49, David Reveman wrote: > We'll need a shared ready_to_run queue but I ...
7 years ago (2013-12-05 13:56:48 UTC) #10
reveman
On 2013/12/05 13:56:48, sohanjg wrote: > On 2013/12/04 16:25:49, David Reveman wrote: > > We'll ...
7 years ago (2013-12-05 16:07:49 UTC) #11
reveman
On 2013/12/05 13:56:48, sohanjg wrote: > On 2013/12/04 16:25:49, David Reveman wrote: > > We'll ...
7 years ago (2013-12-05 16:25:28 UTC) #12
sohanjg
On 2013/12/05 16:25:28, David Reveman wrote: > On 2013/12/05 13:56:48, sohanjg wrote: > > On ...
7 years ago (2013-12-09 14:20:54 UTC) #13
reveman
This is still pretty rough but I think you're getting closer. I think the problems ...
7 years ago (2013-12-09 20:19:17 UTC) #14
sohanjg
Please let me know your thoughts. https://codereview.chromium.org/73923003/diff/330001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/330001/cc/resources/worker_pool.cc#newcode94 cc/resources/worker_pool.cc:94: typedef std::map<const WorkerPool*, ...
7 years ago (2013-12-10 07:19:37 UTC) #15
sohanjg
On 2013/12/10 07:19:37, sohanjg wrote: > Please let me know your thoughts. > > https://codereview.chromium.org/73923003/diff/330001/cc/resources/worker_pool.cc ...
7 years ago (2013-12-10 13:55:03 UTC) #16
sohanjg
On 2013/12/09 20:19:17, David Reveman wrote: > This is still pretty rough but I think ...
7 years ago (2013-12-12 05:59:06 UTC) #17
reveman
https://codereview.chromium.org/73923003/diff/370001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/370001/cc/resources/worker_pool.cc#newcode190 cc/resources/worker_pool.cc:190: void WorkerInner::SetTaskGraph(TaskGraph* graph, WorkerPool* worker_pool) { Let's focus on ...
7 years ago (2013-12-14 05:22:40 UTC) #18
sohanjg
PTAL Thanks https://codereview.chromium.org/73923003/diff/370001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/370001/cc/resources/worker_pool.cc#newcode197 cc/resources/worker_pool.cc:197: TaskVector new_completed_tasks; On 2013/12/14 05:22:40, David Reveman ...
7 years ago (2013-12-16 10:23:35 UTC) #19
reveman
https://codereview.chromium.org/73923003/diff/390001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (left): https://codereview.chromium.org/73923003/diff/390001/cc/resources/worker_pool.cc#oldcode186 cc/resources/worker_pool.cc:186: DCHECK_EQ(0u, completed_tasks_.size()); I think all these DCHECKs should move ...
7 years ago (2013-12-16 17:06:30 UTC) #20
sohanjg
PTAL Thanks https://codereview.chromium.org/73923003/diff/390001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/390001/cc/resources/worker_pool.cc#newcode29 cc/resources/worker_pool.cc:29: class WorkerInner : public base::DelegateSimpleThread::Delegate { On ...
7 years ago (2013-12-17 14:58:11 UTC) #21
reveman
https://codereview.chromium.org/73923003/diff/390001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/390001/cc/resources/worker_pool.cc#newcode299 cc/resources/worker_pool.cc:299: shared_ready_to_run_tasks_.push(task_set); On 2013/12/17 14:58:12, sohanjg wrote: > On 2013/12/16 ...
7 years ago (2013-12-19 02:09:37 UTC) #22
sohanjg
PTAL Thanks. https://codereview.chromium.org/73923003/diff/410001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/410001/cc/resources/worker_pool.cc#newcode83 cc/resources/worker_pool.cc:83: const linked_ptr<TaskNamespace> b) { On 2013/12/19 02:09:38, ...
7 years ago (2013-12-19 15:00:59 UTC) #23
sohanjg
Sorry, missed this. Let me know your thoughts. https://codereview.chromium.org/73923003/diff/390001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/390001/cc/resources/worker_pool.cc#newcode299 cc/resources/worker_pool.cc:299: shared_ready_to_run_tasks_.push(task_set); ...
7 years ago (2013-12-19 15:06:58 UTC) #24
reveman
FYI, I haven't started looking at TaskGraphRunner::Run() yet. I'm still focusing on SetTaskGraph and we'll ...
7 years ago (2013-12-19 19:35:49 UTC) #25
reveman
Here's some more feedback that covers the implementation of ::Run(). Please make sure you look ...
7 years ago (2013-12-20 01:53:23 UTC) #26
sohanjg
PTAL. Thanks https://codereview.chromium.org/73923003/diff/430001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/430001/cc/resources/worker_pool.cc#newcode29 cc/resources/worker_pool.cc:29: // by |lock_|. On 2013/12/20 01:53:24, David ...
7 years ago (2013-12-20 10:09:29 UTC) #27
reveman
https://codereview.chromium.org/73923003/diff/430001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/430001/cc/resources/worker_pool.cc#newcode40 cc/resources/worker_pool.cc:40: typedef WorkerPool::TaskVector TaskVector; On 2013/12/20 10:09:29, sohanjg wrote: > ...
7 years ago (2013-12-20 16:16:01 UTC) #28
sohanjg
PTAL Thanks. https://codereview.chromium.org/73923003/diff/450001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/450001/cc/resources/worker_pool.cc#newcode44 cc/resources/worker_pool.cc:44: // |completed_tasks| queue even if they later ...
7 years ago (2013-12-21 09:58:40 UTC) #29
reveman
Consider using clang formatting "git cl format" to avoid all these style mistakes. https://codereview.chromium.org/73923003/diff/490001/cc/base/switches.cc File ...
7 years ago (2013-12-22 15:49:25 UTC) #30
sohanjg
PTAL Thanks. https://codereview.chromium.org/73923003/diff/490001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (left): https://codereview.chromium.org/73923003/diff/490001/cc/resources/worker_pool.cc#oldcode195 cc/resources/worker_pool.cc:195: On 2013/12/22 15:49:25, David Reveman wrote: > ...
6 years, 12 months ago (2013-12-26 13:38:47 UTC) #31
reveman
https://codereview.chromium.org/73923003/diff/560001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (left): https://codereview.chromium.org/73923003/diff/560001/cc/resources/worker_pool.cc#oldcode186 cc/resources/worker_pool.cc:186: DCHECK_EQ(0u, completed_tasks_.size()); Move these DCHECKs to Unregister. https://codereview.chromium.org/73923003/diff/560001/cc/resources/worker_pool.cc File ...
6 years, 12 months ago (2013-12-26 18:08:01 UTC) #32
sohanjg
PTAL Thanks. regarding the switch file changes, you mentioned, you will take care, or should ...
6 years, 12 months ago (2013-12-27 08:34:23 UTC) #33
reveman
Just some nits. We'll need to make changes to how we handle the command line ...
6 years, 12 months ago (2013-12-27 09:58:50 UTC) #34
sohanjg
PTAL Thanks. https://codereview.chromium.org/73923003/diff/640001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/640001/cc/resources/worker_pool.cc#newcode101 cc/resources/worker_pool.cc:101: // Check finished running tasks On 2013/12/27 ...
6 years, 12 months ago (2013-12-27 12:18:32 UTC) #35
reveman
https://codereview.chromium.org/73923003/diff/690001/cc/base/switches.cc File cc/base/switches.cc (right): https://codereview.chromium.org/73923003/diff/690001/cc/base/switches.cc#newcode213 cc/base/switches.cc:213: size_t CheckNumRasterThreads() { move this function to anonymous namespace. ...
6 years, 12 months ago (2013-12-27 14:57:12 UTC) #36
sohanjg
PTAL Thanks. https://codereview.chromium.org/73923003/diff/690001/cc/base/switches.cc File cc/base/switches.cc (right): https://codereview.chromium.org/73923003/diff/690001/cc/base/switches.cc#newcode213 cc/base/switches.cc:213: size_t CheckNumRasterThreads() { On 2013/12/27 14:57:13, David ...
6 years, 12 months ago (2013-12-28 09:15:15 UTC) #37
reveman
https://codereview.chromium.org/73923003/diff/770001/cc/base/switches.cc File cc/base/switches.cc (right): https://codereview.chromium.org/73923003/diff/770001/cc/base/switches.cc#newcode196 cc/base/switches.cc:196: int num_threads = kDefaultNumRasterThreads; Please move this just above ...
6 years, 12 months ago (2013-12-28 14:45:47 UTC) #38
sohanjg
PTAL. Can you please add/suggest me to add, other owners for this review, pre-submit is ...
6 years, 11 months ago (2013-12-30 06:49:35 UTC) #39
reveman
Looking good. A few minor issues. Please update the description and have Vlad look at ...
6 years, 11 months ago (2013-12-30 08:57:05 UTC) #40
sohanjg
PTAL Thanks. https://codereview.chromium.org/73923003/diff/910001/cc/base/switches.cc File cc/base/switches.cc (right): https://codereview.chromium.org/73923003/diff/910001/cc/base/switches.cc#newcode201 cc/base/switches.cc:201: if ((base::StringToInt(string_value, &num_threads) && On 2013/12/30 08:57:06, ...
6 years, 11 months ago (2013-12-30 09:18:54 UTC) #41
vmpstr
https://codereview.chromium.org/73923003/diff/430003/cc/resources/picture_pile.cc File cc/resources/picture_pile.cc (right): https://codereview.chromium.org/73923003/diff/430003/cc/resources/picture_pile.cc#newcode239 cc/resources/picture_pile.cc:239: picture->CloneForDrawing(static_cast<int>(num_raster_threads)); Might as well switch CloneForDrawing to take size_t ...
6 years, 11 months ago (2013-12-30 21:13:00 UTC) #42
reveman
https://codereview.chromium.org/73923003/diff/430003/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/430003/cc/resources/worker_pool.cc#newcode47 cc/resources/worker_pool.cc:47: // Wait for all scheduled tasks to finish running ...
6 years, 11 months ago (2013-12-31 01:16:51 UTC) #43
reveman
https://codereview.chromium.org/73923003/diff/430003/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/430003/cc/resources/worker_pool.cc#newcode416 cc/resources/worker_pool.cc:416: ready_to_run_namespaces_.push(task_namespace); On 2013/12/31 01:16:52, David Reveman wrote: > On ...
6 years, 11 months ago (2013-12-31 03:37:28 UTC) #44
sohanjg
Please let me know your opinion on the comments. Thanks https://codereview.chromium.org/73923003/diff/430003/cc/resources/picture_pile.cc File cc/resources/picture_pile.cc (right): https://codereview.chromium.org/73923003/diff/430003/cc/resources/picture_pile.cc#newcode239 ...
6 years, 11 months ago (2013-12-31 06:31:24 UTC) #45
reveman
https://codereview.chromium.org/73923003/diff/430003/cc/resources/picture_pile.cc File cc/resources/picture_pile.cc (right): https://codereview.chromium.org/73923003/diff/430003/cc/resources/picture_pile.cc#newcode239 cc/resources/picture_pile.cc:239: picture->CloneForDrawing(static_cast<int>(num_raster_threads)); On 2013/12/31 06:31:25, sohanjg wrote: > On 2013/12/30 ...
6 years, 11 months ago (2014-01-02 03:50:06 UTC) #46
vmpstr
https://codereview.chromium.org/73923003/diff/430003/cc/resources/picture_pile.cc File cc/resources/picture_pile.cc (right): https://codereview.chromium.org/73923003/diff/430003/cc/resources/picture_pile.cc#newcode239 cc/resources/picture_pile.cc:239: picture->CloneForDrawing(static_cast<int>(num_raster_threads)); On 2014/01/02 03:50:08, David Reveman wrote: > On ...
6 years, 11 months ago (2014-01-02 05:29:15 UTC) #47
vmpstr
https://codereview.chromium.org/73923003/diff/430003/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (left): https://codereview.chromium.org/73923003/diff/430003/cc/resources/worker_pool.cc#oldcode103 cc/resources/worker_pool.cc:103: bool operator()(const internal::GraphNode* a, On 2013/12/31 06:31:25, sohanjg wrote: ...
6 years, 11 months ago (2014-01-02 05:38:55 UTC) #48
sohanjg
On 2014/01/02 05:38:55, vmpstr wrote: > https://codereview.chromium.org/73923003/diff/430003/cc/resources/worker_pool.cc > File cc/resources/worker_pool.cc (left): > > https://codereview.chromium.org/73923003/diff/430003/cc/resources/worker_pool.cc#oldcode103 > ...
6 years, 11 months ago (2014-01-03 10:32:45 UTC) #49
reveman
I think we should remove the changes to cc/base/switches.* and instead add: // Sets the ...
6 years, 11 months ago (2014-01-03 19:14:02 UTC) #50
sohanjg
PTAL Thanks. https://codereview.chromium.org/73923003/diff/1310001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/1310001/cc/resources/worker_pool.cc#newcode187 cc/resources/worker_pool.cc:187: DCHECK_EQ(0u, namespaces_[worker_pool]->pending_tasks.size()); On 2014/01/03 19:14:03, David Reveman ...
6 years, 11 months ago (2014-01-06 06:16:27 UTC) #51
reveman
https://codereview.chromium.org/73923003/diff/1390001/cc/base/switches.cc File cc/base/switches.cc (right): https://codereview.chromium.org/73923003/diff/1390001/cc/base/switches.cc#newcode8 cc/base/switches.cc:8: #include "base/logging.h" no need to add this include https://codereview.chromium.org/73923003/diff/1390001/cc/resources/picture_pile.cc ...
6 years, 11 months ago (2014-01-06 07:13:11 UTC) #52
sohanjg
On 2014/01/06 07:13:11, David Reveman wrote: > https://codereview.chromium.org/73923003/diff/1390001/cc/resources/raster_worker_pool.cc#newcode472 > cc/resources/raster_worker_pool.cc:472: void > RasterWorkerPool::SetNumRasterThreads() { > ...
6 years, 11 months ago (2014-01-06 07:34:06 UTC) #53
sohanjg
On 2014/01/06 07:13:11, David Reveman wrote: > https://codereview.chromium.org/73923003/diff/1390001/cc/resources/raster_worker_pool.cc#newcode472 > cc/resources/raster_worker_pool.cc:472: void > RasterWorkerPool::SetNumRasterThreads() { > ...
6 years, 11 months ago (2014-01-06 07:34:17 UTC) #54
sohanjg
On 2014/01/06 07:34:17, sohanjg wrote: > On 2014/01/06 07:13:11, David Reveman wrote: > > > ...
6 years, 11 months ago (2014-01-06 08:39:59 UTC) #55
sohanjg
PTAL. Thanks https://codereview.chromium.org/73923003/diff/1390001/cc/base/switches.cc File cc/base/switches.cc (right): https://codereview.chromium.org/73923003/diff/1390001/cc/base/switches.cc#newcode8 cc/base/switches.cc:8: #include "base/logging.h" On 2014/01/06 07:13:12, David Reveman ...
6 years, 11 months ago (2014-01-06 09:57:28 UTC) #56
reveman
https://codereview.chromium.org/73923003/diff/1520001/cc/resources/picture_pile.cc File cc/resources/picture_pile.cc (right): https://codereview.chromium.org/73923003/diff/1520001/cc/resources/picture_pile.cc#newcode235 cc/resources/picture_pile.cc:235: size_t num_raster_threads = RasterWorkerPool::GetNumRasterThreads(); GetNumRasterThreads() returns an "int" not ...
6 years, 11 months ago (2014-01-06 20:01:34 UTC) #57
vmpstr
https://codereview.chromium.org/73923003/diff/1520001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/1520001/cc/resources/worker_pool.cc#newcode77 cc/resources/worker_pool.cc:77: DCHECK(!a->ready_to_run_tasks.empty()); typo: b->... https://codereview.chromium.org/73923003/diff/1520001/cc/resources/worker_pool.cc#newcode78 cc/resources/worker_pool.cc:78: return CompareTaskPriority(a->ready_to_run_tasks.back(), According to ...
6 years, 11 months ago (2014-01-06 20:46:30 UTC) #58
reveman
https://codereview.chromium.org/73923003/diff/1520001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/1520001/cc/resources/worker_pool.cc#newcode78 cc/resources/worker_pool.cc:78: return CompareTaskPriority(a->ready_to_run_tasks.back(), On 2014/01/06 20:46:31, vmpstr wrote: > According ...
6 years, 11 months ago (2014-01-06 21:59:37 UTC) #59
vmpstr
https://codereview.chromium.org/73923003/diff/1520001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/1520001/cc/resources/worker_pool.cc#newcode78 cc/resources/worker_pool.cc:78: return CompareTaskPriority(a->ready_to_run_tasks.back(), On 2014/01/06 21:59:39, David Reveman wrote: > ...
6 years, 11 months ago (2014-01-06 22:07:19 UTC) #60
sohanjg
PTAL Thanks. https://codereview.chromium.org/73923003/diff/1520001/cc/resources/picture_pile.cc File cc/resources/picture_pile.cc (right): https://codereview.chromium.org/73923003/diff/1520001/cc/resources/picture_pile.cc#newcode235 cc/resources/picture_pile.cc:235: size_t num_raster_threads = RasterWorkerPool::GetNumRasterThreads(); On 2014/01/06 20:01:35, ...
6 years, 11 months ago (2014-01-07 08:35:22 UTC) #61
reveman
https://codereview.chromium.org/73923003/diff/1630001/cc/resources/picture_pile_base.cc File cc/resources/picture_pile_base.cc (right): https://codereview.chromium.org/73923003/diff/1630001/cc/resources/picture_pile_base.cc#newcode47 cc/resources/picture_pile_base.cc:47: clear_canvas_with_debug_color_(kDefaultClearCanvasSetting) { nit: should only be one space between ...
6 years, 11 months ago (2014-01-07 17:24:05 UTC) #62
sohanjg
PTAL Thanks. https://codereview.chromium.org/73923003/diff/1630001/cc/resources/picture_pile_base.cc File cc/resources/picture_pile_base.cc (right): https://codereview.chromium.org/73923003/diff/1630001/cc/resources/picture_pile_base.cc#newcode47 cc/resources/picture_pile_base.cc:47: clear_canvas_with_debug_color_(kDefaultClearCanvasSetting) { On 2014/01/07 17:24:06, David Reveman ...
6 years, 11 months ago (2014-01-08 05:55:42 UTC) #63
reveman
This looks good after fixing these last few nits. However, I'd like to see you ...
6 years, 11 months ago (2014-01-08 07:06:40 UTC) #64
vmpstr
I agree that this might need a few new extra unittests, but other than that ...
6 years, 11 months ago (2014-01-08 17:47:24 UTC) #65
reveman
https://codereview.chromium.org/73923003/diff/1700001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/73923003/diff/1700001/content/renderer/render_thread_impl.cc#newcode165 content/renderer/render_thread_impl.cc:165: const int kDefaultNumRasterThreads = 1; On 2014/01/08 17:47:25, vmpstr ...
6 years, 11 months ago (2014-01-08 18:07:55 UTC) #66
sohanjg
PTAL Thanks. https://codereview.chromium.org/73923003/diff/1700001/cc/resources/picture_pile_impl.cc File cc/resources/picture_pile_impl.cc (right): https://codereview.chromium.org/73923003/diff/1700001/cc/resources/picture_pile_impl.cc#newcode12 cc/resources/picture_pile_impl.cc:12: #include "cc/resources/raster_worker_pool.h" On 2014/01/08 07:06:40, David Reveman ...
6 years, 11 months ago (2014-01-09 07:25:31 UTC) #67
reveman
https://codereview.chromium.org/73923003/diff/1790001/cc/resources/worker_pool_unittest.cc File cc/resources/worker_pool_unittest.cc (left): https://codereview.chromium.org/73923003/diff/1790001/cc/resources/worker_pool_unittest.cc#oldcode111 cc/resources/worker_pool_unittest.cc:111: no need to remove this blank line https://codereview.chromium.org/73923003/diff/1790001/cc/resources/worker_pool_unittest.cc#oldcode113 cc/resources/worker_pool_unittest.cc:113: ...
6 years, 11 months ago (2014-01-09 16:04:24 UTC) #68
vmpstr
I'm happy with the way this turned out, no more comments from me :)
6 years, 11 months ago (2014-01-09 18:50:00 UTC) #69
sohanjg
PTAL Thanks. https://codereview.chromium.org/73923003/diff/1790001/cc/resources/worker_pool_unittest.cc File cc/resources/worker_pool_unittest.cc (left): https://codereview.chromium.org/73923003/diff/1790001/cc/resources/worker_pool_unittest.cc#oldcode111 cc/resources/worker_pool_unittest.cc:111: On 2014/01/09 16:04:26, David Reveman wrote: > ...
6 years, 11 months ago (2014-01-10 15:12:30 UTC) #70
reveman
https://codereview.chromium.org/73923003/diff/1850001/cc/resources/worker_pool_unittest.cc File cc/resources/worker_pool_unittest.cc (right): https://codereview.chromium.org/73923003/diff/1850001/cc/resources/worker_pool_unittest.cc#newcode191 cc/resources/worker_pool_unittest.cc:191: } not sure why you need this but it ...
6 years, 11 months ago (2014-01-10 21:22:02 UTC) #71
sohanjg
PTAL Thanks. https://codereview.chromium.org/73923003/diff/1850001/cc/resources/worker_pool_unittest.cc File cc/resources/worker_pool_unittest.cc (right): https://codereview.chromium.org/73923003/diff/1850001/cc/resources/worker_pool_unittest.cc#newcode191 cc/resources/worker_pool_unittest.cc:191: } On 2014/01/10 21:22:03, David Reveman wrote: ...
6 years, 11 months ago (2014-01-13 13:24:50 UTC) #72
reveman
https://codereview.chromium.org/73923003/diff/1900001/cc/resources/worker_pool_unittest.cc File cc/resources/worker_pool_unittest.cc (right): https://codereview.chromium.org/73923003/diff/1900001/cc/resources/worker_pool_unittest.cc#newcode16 cc/resources/worker_pool_unittest.cc:16: const int kWorkerPoolCount = 3; nit: blank line before ...
6 years, 11 months ago (2014-01-13 18:37:20 UTC) #73
sohanjg
PTAL. Thanks. https://codereview.chromium.org/73923003/diff/1900001/cc/resources/worker_pool_unittest.cc File cc/resources/worker_pool_unittest.cc (right): https://codereview.chromium.org/73923003/diff/1900001/cc/resources/worker_pool_unittest.cc#newcode16 cc/resources/worker_pool_unittest.cc:16: const int kWorkerPoolCount = 3; On 2014/01/13 ...
6 years, 11 months ago (2014-01-14 06:21:24 UTC) #74
reveman
Great! This looks good. Just fix this small set of nits and I think this ...
6 years, 11 months ago (2014-01-14 07:35:43 UTC) #75
sohanjg
PTAL. Thanks https://codereview.chromium.org/73923003/diff/1940001/cc/resources/worker_pool_unittest.cc File cc/resources/worker_pool_unittest.cc (right): https://codereview.chromium.org/73923003/diff/1940001/cc/resources/worker_pool_unittest.cc#newcode151 cc/resources/worker_pool_unittest.cc:151: worker_pools_.push_back(FakeWorkerPool::Create().release()); On 2014/01/14 07:35:44, David Reveman wrote: ...
6 years, 11 months ago (2014-01-14 08:09:59 UTC) #76
reveman
I noticed that your patch is changing the mode of all files from 644 to ...
6 years, 11 months ago (2014-01-14 08:44:23 UTC) #77
sohanjg
PTAL Thanks. https://codereview.chromium.org/73923003/diff/1980001/cc/resources/worker_pool_unittest.cc File cc/resources/worker_pool_unittest.cc (right): https://codereview.chromium.org/73923003/diff/1980001/cc/resources/worker_pool_unittest.cc#newcode191 cc/resources/worker_pool_unittest.cc:191: std::vector<linked_ptr<FakeWorkerPool> > worker_pools_; On 2014/01/14 08:44:24, David ...
6 years, 11 months ago (2014-01-14 09:05:58 UTC) #78
reveman
thanks for all the hard work, lgtm +jamesr for content/renderer/
6 years, 11 months ago (2014-01-14 15:14:25 UTC) #79
jamesr
lgtm https://codereview.chromium.org/73923003/diff/2040001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/73923003/diff/2040001/content/renderer/render_thread_impl.cc#newcode415 content/renderer/render_thread_impl.cc:415: if (command_line.HasSwitch(cc::switches::kNumRasterThreads)) { if this flag is only ...
6 years, 11 months ago (2014-01-15 19:17:32 UTC) #80
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/73923003/2040001
6 years, 11 months ago (2014-01-16 04:56:35 UTC) #81
commit-bot: I haz the power
Failed to apply patch for cc/resources/image_raster_worker_pool.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-16 04:56:45 UTC) #82
reveman
you can cq+ this after fixing these 2 issues https://codereview.chromium.org/73923003/diff/2110001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/2110001/cc/resources/worker_pool.cc#newcode573 cc/resources/worker_pool.cc:573: ...
6 years, 11 months ago (2014-01-16 08:00:42 UTC) #83
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/73923003/2160001
6 years, 11 months ago (2014-01-16 08:55:20 UTC) #84
sohanjg
Done. CQ-ing. https://codereview.chromium.org/73923003/diff/2110001/cc/resources/worker_pool.cc File cc/resources/worker_pool.cc (right): https://codereview.chromium.org/73923003/diff/2110001/cc/resources/worker_pool.cc#newcode573 cc/resources/worker_pool.cc:573: void WorkerPool::SetTaskGraph(TaskGraph* graph) { On 2014/01/16 08:00:44, ...
6 years, 11 months ago (2014-01-16 08:56:47 UTC) #85
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=212488
6 years, 11 months ago (2014-01-16 09:12:48 UTC) #86
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/73923003/2400001
6 years, 11 months ago (2014-01-16 11:22:45 UTC) #87
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=212513
6 years, 11 months ago (2014-01-16 11:37:14 UTC) #88
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/73923003/2400001
6 years, 11 months ago (2014-01-16 13:27:24 UTC) #89
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) app_list_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
6 years, 11 months ago (2014-01-16 14:41:25 UTC) #90
sohanjg
On 2014/01/16 14:41:25, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 11 months ago (2014-01-16 16:14:38 UTC) #91
reveman
On 2014/01/16 16:14:38, sohanjg wrote: > On 2014/01/16 14:41:25, I haz the power (commit-bot) wrote: ...
6 years, 11 months ago (2014-01-16 16:46:18 UTC) #92
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/73923003/2730002
6 years, 11 months ago (2014-01-17 05:53:47 UTC) #93
sohanjg
On 2014/01/17 05:53:47, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 11 months ago (2014-01-17 13:39:36 UTC) #94
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/73923003/2130005
6 years, 11 months ago (2014-01-17 14:17:45 UTC) #95
commit-bot: I haz the power
6 years, 11 months ago (2014-01-17 16:14:31 UTC) #96
Message was sent while issue was closed.
Change committed as 245526

Powered by Google App Engine
This is Rietveld 408576698