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

Issue 2467283002: Collect total counters in case of GDI failure. (Closed)

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

Description

Collect total counters in case of GDI failure. If a system instability is caused by some non-browser process, it will be known from the total usage counters when crash dump is received. Thus we can distinguish a case when some non-browser process is misbehaving from other kinds of system resource exhaustion. BUG=661461 R=thestig@chromium.org Committed: https://crrev.com/9625fddb94caf89f7f967326bb662aced7b2d884 Cr-Commit-Position: refs/heads/master@{#430161}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use std::max instead of 'if'. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -6 lines) Patch
M base/debug/gdi_debug_util_win.cc View 1 4 chunks +21 lines, -6 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
anpol
PTAL
4 years, 1 month ago (2016-11-03 12:07:00 UTC) #3
Sigurður Ásgeirsson
This looks very sane to me - there's some additional cost, but since we're about ...
4 years, 1 month ago (2016-11-03 17:30:20 UTC) #4
Lei Zhang
lgtm https://codereview.chromium.org/2467283002/diff/1/base/debug/gdi_debug_util_win.cc File base/debug/gdi_debug_util_win.cc (right): https://codereview.chromium.org/2467283002/diff/1/base/debug/gdi_debug_util_win.cc#newcode60 base/debug/gdi_debug_util_win.cc:60: if (total_peak_gdi_count < num_gdi_handles) total_peak_gdi_count = std::max(total_peak_gdi_count, num_gdi_handles); ...
4 years, 1 month ago (2016-11-03 18:53:12 UTC) #5
Peter Kasting
Going to take myself off this since you have other review coverage. For future reference, ...
4 years, 1 month ago (2016-11-03 21:35:40 UTC) #6
anpol
On 2016/11/03 21:35:40, Peter Kasting wrote: > Going to take myself off this since you ...
4 years, 1 month ago (2016-11-04 07:24:07 UTC) #8
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/2467283002/20001
4 years, 1 month ago (2016-11-05 08:55:53 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-05 09:56:47 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-11-05 09:59:16 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9625fddb94caf89f7f967326bb662aced7b2d884
Cr-Commit-Position: refs/heads/master@{#430161}

Powered by Google App Engine
This is Rietveld 408576698