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

Issue 9328011: Adding a command line flag to specify renderer process limit (Closed)

Created:
8 years, 10 months ago by nasko
Modified:
8 years, 10 months ago
CC:
chromium-reviews, Avi (use Gerrit), creis+watch_chromium.org, ajwong+watch_chromium.org, jam, mihaip+watch_chromium.org, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, brettw-cc_chromium.org, brettw
Visibility:
Public.

Description

Adding a command line flag to specify renderer process limit BUG=111498 TEST=Run chrome with --renderer-process-limit=X where X is the maximum number of renderer processes. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121744

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressed feedback by creis. #

Total comments: 4

Patch Set 3 : Adding unit test for the command line parameter #

Total comments: 4

Patch Set 4 : Removed the static variable from the interface and moved the test function. #

Total comments: 2

Patch Set 5 : Moving function body to the .cc file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -104 lines) Patch
M chrome/browser/extensions/isolated_app_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 3 chunks +11 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_browsertest.h View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_browsertest.cc View 1 2 3 4 2 chunks +102 lines, -87 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 2 chunks +15 lines, -13 lines 0 comments Download
M content/public/browser/render_process_host.h View 1 2 3 1 chunk +8 lines, -2 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Charlie Reis
Great-- I'm eager to try this out. A few comments inline. https://chromiumcodereview.appspot.com/9328011/diff/1/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): ...
8 years, 10 months ago (2012-02-03 23:05:34 UTC) #1
nasko
I've updated the patch, addressing the comments you have. Unit test is still to be ...
8 years, 10 months ago (2012-02-07 00:42:05 UTC) #2
Charlie Reis
Looks good, once we have the unit test. Don't forget to CC the watchlist folks ...
8 years, 10 months ago (2012-02-07 17:36:36 UTC) #3
nasko
I've addressed the initial feedback from Charlie and added an unit test. Ready for review. ...
8 years, 10 months ago (2012-02-07 19:01:22 UTC) #4
Charlie Reis
LGTM. John, can you review for owner's approval? https://chromiumcodereview.appspot.com/9328011/diff/4002/content/browser/renderer_host/render_process_host_browsertest.cc File content/browser/renderer_host/render_process_host_browsertest.cc (right): https://chromiumcodereview.appspot.com/9328011/diff/4002/content/browser/renderer_host/render_process_host_browsertest.cc#newcode154 content/browser/renderer_host/render_process_host_browsertest.cc:154: void ...
8 years, 10 months ago (2012-02-07 19:29:20 UTC) #5
jam
http://codereview.chromium.org/9328011/diff/4002/content/public/browser/render_process_host.h File content/public/browser/render_process_host.h (right): http://codereview.chromium.org/9328011/diff/4002/content/public/browser/render_process_host.h#newcode241 content/public/browser/render_process_host.h:241: static size_t max_renderer_count_override_; for the content api we avoid ...
8 years, 10 months ago (2012-02-07 20:27:29 UTC) #6
nasko
I've made the changes to fix the issues brought up. Thanks http://codereview.chromium.org/9328011/diff/4002/content/browser/renderer_host/render_process_host_browsertest.cc File content/browser/renderer_host/render_process_host_browsertest.cc (right): ...
8 years, 10 months ago (2012-02-07 21:29:50 UTC) #7
nasko
John, can you review the changes to address the feedback?
8 years, 10 months ago (2012-02-09 17:08:18 UTC) #8
jam
lgtm with nit http://codereview.chromium.org/9328011/diff/10004/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): http://codereview.chromium.org/9328011/diff/10004/content/browser/renderer_host/render_process_host_impl.cc#newcode212 content/browser/renderer_host/render_process_host_impl.cc:212: static size_t max_renderer_count_override = 0; nit: ...
8 years, 10 months ago (2012-02-10 18:02:11 UTC) #9
nasko
I added the prefix to the variable. I also had to move the body of ...
8 years, 10 months ago (2012-02-11 00:49:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/9328011/22001
8 years, 10 months ago (2012-02-13 17:45:19 UTC) #11
commit-bot: I haz the power
Presubmit check for 9328011-22001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 10 months ago (2012-02-13 17:45:25 UTC) #12
nasko
Including jhawkins@chromium.org for owners approval for chrome/browser/ui/webui/ntp/new_tab_ui_browsertest.cc.
8 years, 10 months ago (2012-02-13 17:48:30 UTC) #13
James Hawkins
lgtm
8 years, 10 months ago (2012-02-13 20:47:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/9328011/22001
8 years, 10 months ago (2012-02-13 20:52:15 UTC) #15
commit-bot: I haz the power
8 years, 10 months ago (2012-02-13 22:39:36 UTC) #16
Change committed as 121744

Powered by Google App Engine
This is Rietveld 408576698