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

Issue 9173002: Watchdog - Added a JOINABLE state to avoid StartupTimebomb (Closed)

Created:
8 years, 11 months ago by ramant (doing other things)
Modified:
8 years, 11 months ago
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Watchdog - Added a JOINABLE state to avoid StartupTimebomb blocking UI thread during Watchdog thread join. StartupTimebomb deletes the startup_watchdog thread only if it is joinable. This fixes the case when UI thread is blocked until watchdog thread finishes generating the dump. StartupTimebomb keeps calling IsJoinable on startup_watchdog thread every 10 secs until it is joinable until it is deleted. The delete method calls Cleanup to set the state to SHUTDOWN for backward compatability. BUG=110055 R=jar TEST=base unit tests and browser ui and unit tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=118209

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -20 lines) Patch
M base/threading/watchdog.h View 1 2 3 chunks +10 lines, -3 lines 0 comments Download
M base/threading/watchdog.cc View 1 2 3 chunks +27 lines, -10 lines 0 comments Download
M chrome/browser/metrics/thread_watcher.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/metrics/thread_watcher.cc View 1 2 4 chunks +19 lines, -7 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ramant (doing other things)
Hi Jim, This is the change we had discussed to watchdog and threadwatcher. Would appreciate ...
8 years, 11 months ago (2012-01-18 01:30:56 UTC) #1
jar (doing other things)
I think the change is a great direction. See comments below about another concern I ...
8 years, 11 months ago (2012-01-18 17:24:44 UTC) #2
ramant (doing other things)
Hi Jim, Thanks very much for catching the sync tests failure. Made the changes we ...
8 years, 11 months ago (2012-01-18 20:45:30 UTC) #3
jar (doing other things)
lgtm
8 years, 11 months ago (2012-01-18 22:27:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/9173002/15001
8 years, 11 months ago (2012-01-18 22:56:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/9173002/15001
8 years, 11 months ago (2012-01-19 00:07:12 UTC) #6
commit-bot: I haz the power
8 years, 11 months ago (2012-01-19 01:46:52 UTC) #7
Change committed as 118209

Powered by Google App Engine
This is Rietveld 408576698