Bug 276301 - Drain suspended process message queues more deterministically
Summary: Drain suspended process message queues more deterministically
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ben Nham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-07-07 16:29 PDT by Ben Nham
Modified: 2024-07-08 05:58 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Nham 2024-07-07 16:29:52 PDT
When we detect that a message queue for a suspended process has filled up, we currently wake it up for a fixed 3 second duration. We should probably just wake it up more deterministically (e.g. by enqueuing a message and waiting for the reply handler to fire). We also should add better logging around what messages are ending up on the message queue when this happens.
Comment 1 Radar WebKit Bug Importer 2024-07-07 16:35:05 PDT
<rdar://problem/131274197>
Comment 2 Ben Nham 2024-07-07 16:43:18 PDT
Pull request: https://github.com/WebKit/WebKit/pull/30553
Comment 3 EWS 2024-07-08 05:58:04 PDT
Committed 280728@main (39cca367b0f9): <https://commits.webkit.org/280728@main>

Reviewed commits have been landed. Closing PR #30553 and removing active labels.