Bug 191195 - [PSON] Sometimes unable to reuse a SuspendedPage's process for a navigation without destroying that SuspendedPage
Summary: [PSON] Sometimes unable to reuse a SuspendedPage's process for a navigation w...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-02 08:57 PDT by Chris Dumez
Modified: 2018-11-09 15:58 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 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.
Comment 1 Chris Dumez 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.