Bug 191195

Summary: [PSON] Sometimes unable to reuse a SuspendedPage's process for a navigation without destroying that SuspendedPage
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: achristensen, beidson, ggaren, joepeck
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=191166

Chris Dumez
Reported 2018-11-02 08:57:26 PDT
We are sometimes unable to reuse a SuspendedPage's process for a navigation without destroying that SuspendedPage. This is because the SuspendedPage's process already has a suspended WebPage with a pageID that may be the same as the page that is getting navigated. We currently do not support having more than one WebPage with a given pageID in a single WebProcess. We should try and get rid of this limitation for PSON performance.
Attachments
Chris Dumez
Comment 1 2018-11-02 09:06:15 PDT
We may want to regenerate the WebPageProxy's pageID when we process swap? Will see if this would be feasible. We could also store the original pageID in the SuspendedPageProxy for when we need to reattach to a specific WebPage in the WebProcess.
Note You need to log in before you can comment on or make changes to this bug.