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

Issue 1473753002: Re-land "Add stats to distinguish android renderer crashes." (Closed)

Created:
5 years ago by Peter Wen
Modified:
5 years ago
CC:
chromium-reviews, sadrul, vmpstr+watch_chromium.org, jam, darin-cc_chromium.org, asvitkine+watch_chromium.org, kalyank, Primiano Tucci (use gerrit)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-land "Add stats to distinguish android renderer crashes." This CL is a precursor to expanding Clank stability scope to all OOM protected renderers that crash while Chrome is in the foreground. The difference in scope is effectively the number of renderers that crash as its corresponding tabs are all backgrounded. This transition time is one second before the OOM protection is dropped. Most, if not all, such renderer crashes are due to the Android OOM killer. Overall difference in proposed stability stats will not be much different, and will be easily seen with the new histogram. Expanding scope allows us to have native record which of the renderer crashes actually results in a minidump file being generated, thus demystifying whether the renderer was OOM killed or actually crashed. This native stat can be made more robust in the future, but this CL paves the foundation, assuming Tab.RendererExitStatus is comparable to Tab.RendererCrashStatus. When the renderer is cleanly shutdown, there are no details and no need to record any stats. Thus we skip stat recording for NOTIFICATION_RENDERER_PROCESS_TERMINATED. BUG=510327, 560813 Committed: https://crrev.com/273fee6d7f3ab923ba539c52c2a35a20844bdca4 Cr-Commit-Position: refs/heads/master@{#362511}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix per review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -14 lines) Patch
M base/android/application_status_listener.h View 2 chunks +4 lines, -0 lines 0 comments Download
M base/android/application_status_listener.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M base/android/java/src/org/chromium/base/ApplicationStatus.java View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/TabWebContentsObserver.java View 4 chunks +45 lines, -2 lines 0 comments Download
M components/crash/content/browser/crash_dump_manager_android.h View 1 3 chunks +24 lines, -2 lines 0 comments Download
M components/crash/content/browser/crash_dump_manager_android.cc View 1 6 chunks +77 lines, -10 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 chunks +35 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
Peter Wen
Hi Yaron and Primiano, Fixed the NPE. For the TERMINATED notification, no details are provided, ...
5 years ago (2015-11-24 20:38:53 UTC) #3
Yaron
lgtm - FYI for next time please include the original as ps1 so it's easier ...
5 years ago (2015-11-24 21:17:37 UTC) #4
Peter Wen
On 2015/11/24 21:17:37, Yaron wrote: > lgtm - FYI for next time please include the ...
5 years ago (2015-11-24 22:15:13 UTC) #5
Peter Wen
+cpu@ for OWNERS components/crash/* +isherman@ for OWNERS tools/metrics/* Thanks!
5 years ago (2015-11-24 22:15:54 UTC) #7
Ilya Sherman
Looks like there are no changes to the metrics code that I previously reviewed -- ...
5 years ago (2015-11-25 05:38:17 UTC) #8
Peter Wen
On 2015/11/25 05:38:17, Ilya Sherman wrote: > Looks like there are no changes to the ...
5 years ago (2015-11-25 14:36:33 UTC) #9
Peter Wen
On 2015/11/25 14:36:33, Peter Wen wrote: > On 2015/11/25 05:38:17, Ilya Sherman wrote: > > ...
5 years ago (2015-11-30 18:26:41 UTC) #10
cpu_(ooo_6.6-7.5)
lgtm w/ nits https://codereview.chromium.org/1473753002/diff/1/components/crash/content/browser/crash_dump_manager_android.cc File components/crash/content/browser/crash_dump_manager_android.cc (right): https://codereview.chromium.org/1473753002/diff/1/components/crash/content/browser/crash_dump_manager_android.cc#newcode164 components/crash/content/browser/crash_dump_manager_android.cc:164: /* app_state */ base::android::APPLICATION_STATE_UNKNOWN); still finding ...
5 years ago (2015-11-30 23:54:54 UTC) #11
Peter Wen
Thanks for the review! https://codereview.chromium.org/1473753002/diff/1/components/crash/content/browser/crash_dump_manager_android.cc File components/crash/content/browser/crash_dump_manager_android.cc (right): https://codereview.chromium.org/1473753002/diff/1/components/crash/content/browser/crash_dump_manager_android.cc#newcode164 components/crash/content/browser/crash_dump_manager_android.cc:164: /* app_state */ base::android::APPLICATION_STATE_UNKNOWN); On ...
5 years ago (2015-12-01 18:40:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1473753002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1473753002/20001
5 years ago (2015-12-01 18:45:40 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/20610)
5 years ago (2015-12-01 18:52:48 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1473753002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1473753002/20001
5 years ago (2015-12-01 20:52:41 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-01 21:51:33 UTC) #23
commit-bot: I haz the power
5 years ago (2015-12-01 21:52:25 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/273fee6d7f3ab923ba539c52c2a35a20844bdca4
Cr-Commit-Position: refs/heads/master@{#362511}

Powered by Google App Engine
This is Rietveld 408576698