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

Issue 12183008: ThreadWatcher - Added jankiness monitor for FILE thread. (Closed)

Created:
7 years, 10 months ago by ramant (doing other things)
Modified:
7 years, 10 months ago
CC:
chromium-reviews, MAD, Ilya Sherman, jar (doing other things)
Visibility:
Public.

Description

ThreadWatcher - Added jankiness monitor for FILE thread. Extended crash-on-hang-threads command line switch to accept the unresponsive seconds. For example, if --crash-on-hang-threads=UI:3:18,IO:3:18 is passed as command line argument, ThreadWatcher crashes the browser if UI or IO is not responsive for 18 seconds and the number of browser threads that are responding is less than or equal to 3. If there is no command line switch, it defaults to "UI:3:18,IO:3:18,FILE:3,90" as the value in Canary and Dev. It defaults to empty string in STABLE channel (i.e., we don't crash the browser due to jankiness). For beta channel it defaults to "UI:3:36,IO:3:36,FILE:3:180". Deleted crash-on-hang-threads command line switch because crash-on-hang-threads supports this. R=jar@chromium.org TEST=unit tests for ThreadWatcher Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181874

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 8

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -84 lines) Patch
M chrome/browser/metrics/thread_watcher.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +78 lines, -20 lines 0 comments Download
M chrome/browser/metrics/thread_watcher.cc View 1 2 3 4 5 6 7 8 9 6 chunks +67 lines, -38 lines 0 comments Download
M chrome/browser/metrics/thread_watcher_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +78 lines, -17 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ramant (doing other things)
Hi Jim, Made the changes we had discussed to detect the jankiness on FILE thread ...
7 years, 10 months ago (2013-02-06 03:44:11 UTC) #1
ramant (doing other things)
Hi Jim, Updated the ThreadWatcher's comments. PTAL. thanks raman
7 years, 10 months ago (2013-02-11 23:17:10 UTC) #2
jar (doing other things)
Just some nits below, then LGTM. https://codereview.chromium.org/12183008/diff/41005/chrome/browser/metrics/thread_watcher.h File chrome/browser/metrics/thread_watcher.h (right): https://codereview.chromium.org/12183008/diff/41005/chrome/browser/metrics/thread_watcher.h#newcode341 chrome/browser/metrics/thread_watcher.h:341: // UI and ...
7 years, 10 months ago (2013-02-12 01:27:27 UTC) #3
ramant (doing other things)
https://codereview.chromium.org/12183008/diff/41005/chrome/browser/metrics/thread_watcher.h File chrome/browser/metrics/thread_watcher.h (right): https://codereview.chromium.org/12183008/diff/41005/chrome/browser/metrics/thread_watcher.h#newcode341 chrome/browser/metrics/thread_watcher.h:341: // UI and IO threads, we would crash if ...
7 years, 10 months ago (2013-02-12 01:54:30 UTC) #4
jar (doing other things)
lgtm
7 years, 10 months ago (2013-02-12 01:56:41 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/12183008/29006
7 years, 10 months ago (2013-02-12 02:00:56 UTC) #6
commit-bot: I haz the power
7 years, 10 months ago (2013-02-12 05:29:33 UTC) #7
Message was sent while issue was closed.
Change committed as 181874

Powered by Google App Engine
This is Rietveld 408576698