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

Issue 2514373003: Move SetupMetrics() to PreMainMessageLoopRun (Closed)

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

Description

Move SetupMetrics() to PreMainMessageLoopRun This allows the Browser Task Scheduler to initialize during CreateThreads since SetupMetrics() ultimately requires use of the blocking pool. The blocking pool has to be redirected by the Browser Task Scheduler before this point BUG=662052 Committed: https://crrev.com/1892c914719015f06c135127fd1dfd13dec39d33 Cr-Commit-Position: refs/heads/master@{#435664}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Wording Change #

Total comments: 3

Patch Set 3 : Rebase https://crrev.com/2517363002 #

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

Depends on Patchset:

Messages

Total messages: 38 (20 generated)
robliao
4 years, 1 month ago (2016-11-22 18:03:13 UTC) #6
fdoray
lgtm with nit https://codereview.chromium.org/2514373003/diff/1/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2514373003/diff/1/chrome/browser/chrome_browser_main.cc#newcode1415 chrome/browser/chrome_browser_main.cc:1415: // blocking pool, which won't be ...
4 years, 1 month ago (2016-11-22 18:21:15 UTC) #8
Alexei Svitkine (slow)
One consequence of this is that all the stability book-keeping that happens in InitializeMetricsState() in ...
4 years, 1 month ago (2016-11-22 18:39:38 UTC) #10
robliao
https://codereview.chromium.org/2514373003/diff/1/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2514373003/diff/1/chrome/browser/chrome_browser_main.cc#newcode1415 chrome/browser/chrome_browser_main.cc:1415: // blocking pool, which won't be redirected until the ...
4 years, 1 month ago (2016-11-22 20:39:59 UTC) #11
manzagop (departed)
On 2016/11/22 18:39:38, Alexei Svitkine (slow) wrote: > One consequence of this is that all ...
4 years, 1 month ago (2016-11-22 20:53:46 UTC) #12
robliao
On 2016/11/22 20:53:46, manzagop wrote: > On 2016/11/22 18:39:38, Alexei Svitkine (slow) wrote: > > ...
4 years, 1 month ago (2016-11-22 21:56:02 UTC) #13
Alexei Svitkine (slow)
Splitting initialization to keep the stability stuff early seems reasonable to me. I suspect file ...
4 years, 1 month ago (2016-11-22 22:01:22 UTC) #14
robliao
On 2016/11/22 22:01:22, Alexei Svitkine (slow) wrote: > Splitting initialization to keep the stability stuff ...
4 years, 1 month ago (2016-11-22 22:06:45 UTC) #15
manzagop (departed)
On 2016/11/22 22:06:45, robliao wrote: > On 2016/11/22 22:01:22, Alexei Svitkine (slow) wrote: > > ...
4 years ago (2016-11-24 15:51:56 UTC) #16
Alexei Svitkine (slow)
Generally LGTM % comment below and assuming manzagop@'s also OK from stability metrics POV. https://codereview.chromium.org/2514373003/diff/20001/chrome/browser/chrome_browser_main.cc ...
4 years ago (2016-11-24 21:32:48 UTC) #17
gab
Thanks, @jochen for OWNERS on chrome_browser_main.cc https://codereview.chromium.org/2514373003/diff/20001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2514373003/diff/20001/chrome/browser/chrome_browser_main.cc#newcode1416 chrome/browser/chrome_browser_main.cc:1416: SetupMetrics(); On 2016/11/24 ...
4 years ago (2016-11-25 13:16:09 UTC) #19
gab
On 2016/11/25 13:16:09, gab wrote: > Thanks, @jochen for OWNERS on chrome_browser_main.cc (oh and lgtm ...
4 years ago (2016-11-25 13:16:53 UTC) #20
manzagop (departed)
I'm ok with the change to initial metrics log. lgtm
4 years ago (2016-11-25 15:20:34 UTC) #21
jochen (gone - plz use gerrit)
lgtm
4 years ago (2016-11-28 08:36:13 UTC) #22
robliao
https://codereview.chromium.org/2514373003/diff/20001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2514373003/diff/20001/chrome/browser/chrome_browser_main.cc#newcode1416 chrome/browser/chrome_browser_main.cc:1416: SetupMetrics(); On 2016/11/25 13:16:08, gab wrote: > On 2016/11/24 ...
4 years ago (2016-11-28 14:41:48 UTC) #25
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/2514373003/40001
4 years ago (2016-12-01 18:55:13 UTC) #34
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-01 19:00:32 UTC) #36
commit-bot: I haz the power
4 years ago (2016-12-01 19:03:07 UTC) #38
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1892c914719015f06c135127fd1dfd13dec39d33
Cr-Commit-Position: refs/heads/master@{#435664}

Powered by Google App Engine
This is Rietveld 408576698