commit | 0a5dd69e0d575aa080c7d74c87b57ed6eb403edc | [log] [tgz] |
---|---|---|
author | erikchen <[email protected]> | Tue Dec 12 00:53:10 2017 |
committer | Commit Bot <[email protected]> | Tue Dec 12 00:53:10 2017 |
tree | 64cc36d39b112c76bdaaa7223afe16d1277ee7be | |
parent | c851ab862aaf3d893863cf5a6150d8bf0a22e52a [diff] |
Add two new profiling modes for OOP HP. kAllRenderers will profile all renderers. This allows a user to easily debug renderer-based memory issues. Adding this mode also allows the removal of some testing code that had the same effect. kManual allows the user to manually specify the processes to profile via chrome://memory-internals. If the user starts profiling a process while in another mode, the mode will change to kManual for simplicity. This CL renames the function ShouldProfileProcessType to ShouldProfileNonRendererProcessType. This CL fixes a bug in BackgroundProfilingTrigger whereby renderers would never be profiled, since ShouldProfileProcessType() was incorrectly being used. This logic is no longer necessary since BackgroundProfilingTrigger queries for all profiled processes by pid. Bug: Change-Id: Ibeca2346f1629292ca17678081cf0aec68a85ab3 Reviewed-on: https://chromium-review.googlesource.com/818181 Commit-Queue: Erik Chen <[email protected]> Reviewed-by: Albert J. Wong <[email protected]> Reviewed-by: Brett Wilson <[email protected]> Cr-Commit-Position: refs/heads/master@{#523275}
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 .