commit | dd9b1f91d0bfa3924e94c1c70aca199a28eb5db2 | [log] [tgz] |
---|---|---|
author | Charles Harrison <csharrison@chromium.org> | Wed Nov 08 19:46:28 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Nov 08 19:46:28 2017 |
tree | 23910874b18f453e8137ce907d9b310ebf397921 | |
parent | a0a7001231e7b651bc64c9641b1c3a80d0525df2 [diff] |
Introduce OutOfMemoryReporter to log UKM for OOMs The OutOfMemoryReporter listens for OOM signals from 1. WebContentsObserver::RenderProcessGone 2. CrashDumpManager::Observer::OnMinidumpProcessed To signal that a render process has OOM'd. The class observers navigations and attempts to associate a crash with a committed main frame navigation. When this association is made, the class notifies observers with both a URL and a UKMSource::Id. The goal here being that a followup can easily log UKM based on OOM. NOTE: The OOM signal is only really reliable on Windows and Android. Bug: 736892 Change-Id: I8743a4816198c2fe54967105cab5258e0d30e225 Reviewed-on: https://chromium-review.googlesource.com/738514 Reviewed-by: Jochen Eisinger <jochen@chromium.org> Reviewed-by: Siddhartha S <ssid@chromium.org> Reviewed-by: Alexei Svitkine <asvitkine@chromium.org> Reviewed-by: Maria Khomenko <mariakhomenko@chromium.org> Commit-Queue: Charlie Harrison <csharrison@chromium.org> Cr-Commit-Position: refs/heads/master@{#514911}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .