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

Issue 9187011: Set up the field trials before IOThread creation. We can't wait until after all the threads are c... (Closed)

Created:
8 years, 11 months ago by jam
Modified:
8 years, 11 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Set up the field trials before IOThread creation. We can't wait until after all the threads are created, because tasks on the IO thread reach out to IOThread which sets things up and depends on field trial values already being set. I've broken up the MetricsService initialization into two parts, one before the FILE thread starts and one after. BUG=109863, 109864 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117313

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -79 lines) Patch
M chrome/browser/chrome_browser_main.h View 3 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 8 chunks +42 lines, -52 lines 0 comments Download
M tools/valgrind/tsan/suppressions.txt View 1 1 chunk +0 lines, -20 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jam
looks like I couldn't get away from setting up the IOThread before metricsservice. tsan caught ...
8 years, 11 months ago (2012-01-11 20:26:49 UTC) #1
jam
joi->jar since Joi is out now, and Jim you're the most familiar with this. for ...
8 years, 11 months ago (2012-01-11 20:39:01 UTC) #2
Jói
I think it would be good to also get Jim to take a look, since ...
8 years, 11 months ago (2012-01-11 21:35:24 UTC) #3
jam
On 2012/01/11 21:35:24, Jói wrote: > I think it would be good to also get ...
8 years, 11 months ago (2012-01-11 22:10:40 UTC) #4
jar (doing other things)
lgtm
8 years, 11 months ago (2012-01-11 22:46:08 UTC) #5
jam
hey Joi, I'm going to commit this after Jim's lgtm because i want to fix ...
8 years, 11 months ago (2012-01-11 22:51:35 UTC) #6
Jói
8 years, 11 months ago (2012-01-11 23:45:42 UTC) #7
lgtm
 On Jan 11, 2012 10:51 PM, <jam@chromium.org> wrote:

> hey Joi, I'm going to commit this after Jim's lgtm because i want to fix
> the
> issue asap (not sure what other issues these race conditions can cause).
> but
> definitely i'll respond to any comments you have in a followup change if
> necessary. Thanks.
>
>
http://codereview.chromium.**org/9187011/<http://codereview.chromium.org/9187...
>

Powered by Google App Engine
This is Rietveld 408576698