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

Issue 2380043002: Do not register synthetic field trial before initializing TaskScheduler. (Closed)

Created:
4 years, 2 months ago by fdoray
Modified:
4 years, 2 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not register synthetic field trial before initializing TaskScheduler. Registering a synthetic field trial initializes the MetricsService. Initializing the MetricsService posts a task to the blocking pool. It is not possible to post a task to the blocking pool before TaskScheduler initialization when the blocking pool is redirected to TaskScheduler. This CL moves the registration of the SyntheticStackProfilingConfiguration synthetic field trial after TaskScheduler initialization. BUG=636518 Committed: https://crrev.com/6c74f60870b45a11455e19f5d1a2330b667eb811 Cr-Commit-Position: refs/heads/master@{#422278}

Patch Set 1 #

Total comments: 4

Patch Set 2 : CR robliao #10 #

Patch Set 3 : rebase #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -9 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 2 chunks +9 lines, -9 lines 3 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (11 generated)
fdoray
PTAL
4 years, 2 months ago (2016-09-29 14:37:47 UTC) #2
Alexei Svitkine (slow)
lgtm
4 years, 2 months ago (2016-09-29 16:35:24 UTC) #7
fdoray
brettw@: PTAL (You reviewed a related CL a few days ago https://codereview.chromium.org/2342373002/)
4 years, 2 months ago (2016-09-29 16:50:03 UTC) #9
robliao
https://codereview.chromium.org/2380043002/diff/1/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2380043002/diff/1/chrome/browser/chrome_browser_main.cc#newcode917 chrome/browser/chrome_browser_main.cc:917: tracing::SetupNavigationTracing(); This section seems like it could go outside ...
4 years, 2 months ago (2016-09-30 01:10:10 UTC) #10
fdoray
brettw@: PTAL https://codereview.chromium.org/2380043002/diff/1/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2380043002/diff/1/chrome/browser/chrome_browser_main.cc#newcode917 chrome/browser/chrome_browser_main.cc:917: tracing::SetupNavigationTracing(); On 2016/09/30 01:10:09, robliao wrote: > ...
4 years, 2 months ago (2016-09-30 12:36:42 UTC) #12
robliao
Overall looking reasonable. https://codereview.chromium.org/2380043002/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2380043002/diff/40001/chrome/browser/chrome_browser_main.cc#newcode901 chrome/browser/chrome_browser_main.cc:901: const base::string16 pre_read_field_trial_registry_path = This is ...
4 years, 2 months ago (2016-09-30 18:10:56 UTC) #13
fdoray
robliao@: PTAnL brettw@: PTAL https://codereview.chromium.org/2380043002/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2380043002/diff/40001/chrome/browser/chrome_browser_main.cc#newcode901 chrome/browser/chrome_browser_main.cc:901: const base::string16 pre_read_field_trial_registry_path = On ...
4 years, 2 months ago (2016-09-30 19:06:40 UTC) #14
robliao
lgtm https://codereview.chromium.org/2380043002/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2380043002/diff/40001/chrome/browser/chrome_browser_main.cc#newcode901 chrome/browser/chrome_browser_main.cc:901: const base::string16 pre_read_field_trial_registry_path = On 2016/09/30 19:06:40, fdoray ...
4 years, 2 months ago (2016-09-30 19:08:10 UTC) #15
brettw
lgtm
4 years, 2 months ago (2016-09-30 21:41:43 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2380043002/40001
4 years, 2 months ago (2016-09-30 21:44:58 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-01 02:07:34 UTC) #21
commit-bot: I haz the power
4 years, 2 months ago (2016-10-01 02:11:28 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6c74f60870b45a11455e19f5d1a2330b667eb811
Cr-Commit-Position: refs/heads/master@{#422278}

Powered by Google App Engine
This is Rietveld 408576698