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

Issue 2020243004: content: Rename num raster threads -> num worker threads.

Created:
4 years, 6 months ago by prashant.n
Modified:
4 years, 6 months ago
CC:
achuith+watch_chromium.org, asvitkine+watch_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, davemoore+watch_chromium.org, dzhioev+watch_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, oshima+watch_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@categorized_worker_pool_3
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content: Rename num raster threads -> num worker threads. This patch renames all variables related to raster threads to worker threads. BUG=599863

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : build break #

Total comments: 4

Patch Set 4 : feedback #

Patch Set 5 : corrected cl format changes #

Total comments: 1

Patch Set 6 : build break #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -57 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 2 chunks +9 lines, -9 lines 2 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 2 chunks +14 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gpu/compositor_util.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/gpu/compositor_util.cc View 1 2 3 4 4 chunks +27 lines, -22 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 1 chunk +1 line, -1 line 2 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 1 chunk +7 lines, -7 lines 0 comments Download
M content/renderer/render_thread_impl_browsertest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 30 (9 generated)
prashant.n
ptal. avi@ for src/content and sky@ for src/chrome
4 years, 6 months ago (2016-06-01 02:39:29 UTC) #2
reveman
non-owner lgtm
4 years, 6 months ago (2016-06-01 02:43:21 UTC) #3
Avi (use Gerrit)
LGTM Hoping the grand thread unification helps clear all this out.
4 years, 6 months ago (2016-06-01 03:02:41 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2020243004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2020243004/20001
4 years, 6 months ago (2016-06-01 08:34:40 UTC) #7
prashant.n
+piman@ for chrome/browser/chromeos/login
4 years, 6 months ago (2016-06-01 08:42:17 UTC) #10
prashant.n
+rkaplow@ for tools/metrics/histograms/histograms.xml
4 years, 6 months ago (2016-06-01 10:53:49 UTC) #13
rkaplow
lgtm
4 years, 6 months ago (2016-06-01 14:14:57 UTC) #14
sky
https://codereview.chromium.org/2020243004/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2020243004/diff/40001/chrome/app/generated_resources.grd#newcode3749 chrome/app/generated_resources.grd:3749: + • <ph name="PERMISSION">$1<ex>Read and change all your data ...
4 years, 6 months ago (2016-06-01 15:33:49 UTC) #15
prashant.n
https://codereview.chromium.org/2020243004/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2020243004/diff/40001/chrome/app/generated_resources.grd#newcode3749 chrome/app/generated_resources.grd:3749: + • <ph name="PERMISSION">$1<ex>Read and change all your data ...
4 years, 6 months ago (2016-06-01 15:42:28 UTC) #16
sky
On Wed, Jun 1, 2016 at 8:42 AM, <prashant.n@samsung.com> wrote: > > https://codereview.chromium.org/2020243004/diff/40001/chrome/app/generated_resources.grd > File ...
4 years, 6 months ago (2016-06-01 15:49:55 UTC) #17
prashant.n
> But it is not worker threads across all of chrome, right? Not. reveman@, do ...
4 years, 6 months ago (2016-06-01 15:53:32 UTC) #18
prashant.n
I guess as per current codebase, "kNumCompositorWorkerThreads" would suite more then as results of these ...
4 years, 6 months ago (2016-06-01 17:05:16 UTC) #19
prashant.n
sky@, ptal. Now I've changed to reflect Categorized Worker Threads as we create CategorizedWorkerPoolThreads. https://codereview.chromium.org/2020243004/diff/70001/chrome/app/generated_resources.grd ...
4 years, 6 months ago (2016-06-02 14:33:36 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2020243004/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2020243004/70001
4 years, 6 months ago (2016-06-02 14:36:12 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/75455) linux_chromium_gn_chromeos_rel on ...
4 years, 6 months ago (2016-06-02 14:49:41 UTC) #24
reveman
On 2016/06/01 at 15:53:32, prashant.n wrote: > > But it is not worker threads across ...
4 years, 6 months ago (2016-06-02 15:18:06 UTC) #25
prashant.n
On 2016/06/02 15:18:06, reveman wrote: > On 2016/06/01 at 15:53:32, prashant.n wrote: > > > ...
4 years, 6 months ago (2016-06-02 15:33:50 UTC) #26
reveman
On 2016/06/02 at 15:33:50, prashant.n wrote: > On 2016/06/02 15:18:06, reveman wrote: > > On ...
4 years, 6 months ago (2016-06-02 15:38:38 UTC) #27
prashant.n
sky@, can you pls. comment on this?
4 years, 6 months ago (2016-06-07 04:32:22 UTC) #28
sky
https://codereview.chromium.org/2020243004/diff/90001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2020243004/diff/90001/chrome/app/generated_resources.grd#newcode3749 chrome/app/generated_resources.grd:3749: + • <ph name="PERMISSION">$1<ex>Read and change all your data ...
4 years, 6 months ago (2016-06-07 15:43:45 UTC) #29
prashant.n
4 years, 6 months ago (2016-06-07 15:57:16 UTC) #30
https://codereview.chromium.org/2020243004/diff/90001/chrome/app/generated_re...
File chrome/app/generated_resources.grd (right):

https://codereview.chromium.org/2020243004/diff/90001/chrome/app/generated_re...
chrome/app/generated_resources.grd:3749: +          • <ph
name="PERMISSION">$1<ex>Read and change all your data on the websites you
visit</ex></ph>
On 2016/06/07 15:43:45, sky wrote:
> I asked about this last time around and you have yet to fix it. Please revert
> changes to this line.

Yes. But this gets added automatically even I don't change it.

https://codereview.chromium.org/2020243004/diff/90001/content/public/common/c...
File content/public/common/content_switches.cc (right):

https://codereview.chromium.org/2020243004/diff/90001/content/public/common/c...
content/public/common/content_switches.cc:668: const char
kNumCategorizedWorkerThreads[] = "num-categorized-worker-threads";
On 2016/06/07 15:43:45, sky wrote:
> I am not familiar with this code, but given the comment above it says
'rasterize
> content', why is the variable named categorized?

I'll change the comment. Basically these threads are used multipurpose and
mainly to run the categorized tasks.

https://cs.chromium.org/chromium/src/content/renderer/categorized_worker_pool...

Powered by Google App Engine
This is Rietveld 408576698