commit | d03adf5a2c53f00c4663a93917a9fb0a53f082ad | [log] [tgz] |
---|---|---|
author | Matt Menke <[email protected]> | Fri Mar 23 23:14:16 2018 |
committer | Commit Bot <[email protected]> | Fri Mar 23 23:14:16 2018 |
tree | 12e52ca0134d20c24bace944086da0d897bed00e | |
parent | 22f020b307853b96e2b3207f44b3ea64ff8aab50 [diff] |
RDH: Ensure there's at most one LoadInfoList in flight. ResourceDispatcherHost pushes pending load state of all frames to the UI thread once every 250 milliseconds when there's a pending load. This happens even when the UI thread is blocked. Apparently it's causing an OOM when the UI thread is blocked. Whatever is blocking the UI thread is another issue entirely, but we shouldn't use unbounded memory in the browser process. This CL prevents load state updates from being sent until the previous set was ACKed by the UI thread. Bug: 824869 TBR: [email protected] Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: I3b68522c5281d477d3a621ac02e5df1f75153d99 Reviewed-on: https://chromium-review.googlesource.com/978383 Commit-Queue: Matt Menke <[email protected]> Reviewed-by: John Abd-El-Malek <[email protected]> Reviewed-by: Charlie Harrison <[email protected]> Cr-Commit-Position: refs/heads/master@{#545616}
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 .