commit | 8067f2c1da6b29048e881b13d71037485247cd48 | [log] [tgz] |
---|---|---|
author | Thomas Lukaszewicz <tluk@chromium.org> | Fri Dec 13 07:02:18 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 13 07:02:18 2024 |
tree | 2e93e0a68a57c107ec94c615ac0d079d0960a946 | |
parent | 332ad7546956c08cec196cde4328b928cf878bb7 [diff] |
[discard] Attempt fast-shutdown ignoring keep-alive after timeout The current discard process-shutdown optimization will re-attempt shutdown if the renderer is hosting only discarded frames, continuing to do so until the keep-alive delay of kKeepAliveHandleFactoryTimeout has been reached. This CL ensures that for the case the keep-alive timeout has been exceeded, and all other shutdown conditions have been met, a final shutdown attempt ignoring any existing keep-alive refs is performed. This optimization is necessary to bring resource management of the new discard implementation on-par with the existing discard implementation - where a forced process shutdown is performed on a process after kKeepAliveHandleFactoryTimeout regardless of any pending keep-alive refs. Bug: 383622643 Change-Id: I6c603bde814d93f62cf298499ad3d803086806f2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6088257 Commit-Queue: Thomas Lukaszewicz <tluk@chromium.org> Reviewed-by: Ming-Ying Chung <mych@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Rakina Zata Amni <rakina@chromium.org> Cr-Commit-Position: refs/heads/main@{#1395781}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.