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

Issue 1595633002: Use valid /prefetch arguments for process launches on Windows. - do not submit (Closed)

Created:
4 years, 11 months ago by fdoray
Modified:
4 years, 11 months ago
Reviewers:
gab, grt (UTC plus 2)
CC:
chromium-reviews, grt+watch_chromium.org, darin-cc_chromium.org, jam, rickyz+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@move
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use valid /prefetch arguments for process launches on Windows. The /prefetch:# argument that was used by Chrome didn't work because # has to be in [1, 8]. With this CL, valid /prefetch arguments are used. Windows will create a separate profile for: - browser process in foreground (no /prefetch argument) - browser process in background (/prefetch:1) - renderer (/prefetch:2) - gpu (/prefetch:3) - ppapi (/prefetch:4) - all other process types (/prefetch:8) BUG=577698

Patch Set 1 #

Patch Set 2 : format #

Total comments: 22

Patch Set 3 : rebase #

Patch Set 4 : address simple comments from gab #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -50 lines) Patch
M chrome/app/chrome_watcher_command_line_win.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/app/main_dll_loader_win.cc View 1 2 3 2 chunks +9 lines, -14 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/BUILD.gn View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/common/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/prefetch_argument_win.h View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
A chrome/common/prefetch_argument_win.cc View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download
M chrome/common/service_process_util.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/installer/util/auto_launch_util.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/service/service_utility_process_host.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M cloud_print/service/win/chrome_launcher.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M components/nacl/broker/nacl_broker_listener.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M components/startup_metric_utils/common/pre_read_field_trial_utils_win.h View 1 2 3 1 chunk +21 lines, -13 lines 0 comments Download
M components/startup_metric_utils/common/pre_read_field_trial_utils_win.cc View 1 2 3 3 chunks +16 lines, -16 lines 0 comments Download
M content/common/sandbox_win.cc View 1 2 3 2 chunks +0 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 7 (3 generated)
fdoray
gab@: Can you review this CL? I'll add owners once I get your lgtm. Info: ...
4 years, 11 months ago (2016-01-15 20:30:48 UTC) #2
fdoray
+grt@ Info: - The prefetch switch is added by ChromeContentBrowserClient::AppendExtraCommandLineSwitches for many processes, including renderer+gpu. ...
4 years, 11 months ago (2016-01-15 20:31:37 UTC) #4
gab
lg, very excited to see this! Comments/suggestions below. Cheers! Gab PS: Suggest reading all comments ...
4 years, 11 months ago (2016-01-18 19:10:52 UTC) #5
grt (UTC plus 2)
4 years, 11 months ago (2016-01-19 15:40:15 UTC) #6
On 2016/01/15 20:31:37, fdoray wrote:
> +grt@

Let me know if you'd like me to look before Gab's comments are addressed.
Otherwise I'll hold off. Thanks.

Powered by Google App Engine
This is Rietveld 408576698