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

Issue 14250003: ThreadWatcher - give ShutdownWatchDogThread::Alarm a more unique function body. (Closed)

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

Description

ThreadWatcher - give ShutdownWatchDogThread::Alarm a more unique function body. Changed ShutdownWatchDogThread::Alarm's to call ShutdownCrash(), so it does not get merged by the link time optimization. R=jar@chromium.org, eroman@chromium.org BUG=232080 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194524

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

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

Messages

Total messages: 6 (0 generated)
ramant (doing other things)
7 years, 8 months ago (2013-04-16 22:50:31 UTC) #1
eroman
https://codereview.chromium.org/14250003/diff/1/chrome/browser/metrics/thread_watcher.cc File chrome/browser/metrics/thread_watcher.cc (right): https://codereview.chromium.org/14250003/diff/1/chrome/browser/metrics/thread_watcher.cc#newcode857 chrome/browser/metrics/thread_watcher.cc:857: // Disarm(). When Alarm goes off, in release mode ...
7 years, 8 months ago (2013-04-16 22:53:12 UTC) #2
ramant (doing other things)
https://codereview.chromium.org/14250003/diff/1/chrome/browser/metrics/thread_watcher.cc File chrome/browser/metrics/thread_watcher.cc (right): https://codereview.chromium.org/14250003/diff/1/chrome/browser/metrics/thread_watcher.cc#newcode857 chrome/browser/metrics/thread_watcher.cc:857: // Disarm(). When Alarm goes off, in release mode ...
7 years, 8 months ago (2013-04-16 23:00:39 UTC) #3
eroman
LGTM, however I am not convinced that the NullPointerCrash() method will work as promised -- ...
7 years, 8 months ago (2013-04-16 23:12:37 UTC) #4
eroman
Oh sorry nevermind, they are all wrapped in a MSVC_DISABLE_OPTIMIZE() block :) LGTM On Tue, ...
7 years, 8 months ago (2013-04-16 23:13:31 UTC) #5
jar (doing other things)
7 years, 8 months ago (2013-04-16 23:43:54 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698