Bug 270236
| Summary: | Avoid updating hidden page timer throttling interval for suspended processes | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ben Nham <nham> |
| Component: | WebKit Misc. | Assignee: | Ben Nham <nham> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ben Nham
Currently, every time a tab is created or destroyed, we update the hidden page timer throttling interval and broadcast the change to all processes, including suspended processes. While this doesn't cause a suspended process to resume, it can cause messages to build up in IPC queues that never get drained. This is because the receiver might be a suspended WebContent process. To avoid this, skip sending the throttling updates to suspended processes and update the timer at resume time.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/123773191>
Ben Nham
Pull request: https://github.com/WebKit/WebKit/pull/25239
EWS
Committed 275588@main (199ca3488158): <https://commits.webkit.org/275588@main>
Reviewed commits have been landed. Closing PR #25239 and removing active labels.