[Webkit-unassigned] [Bug 196062] Certain WebProcesses should opt-out of the freezer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 21 16:48:45 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=196062

Chris Dumez <cdumez at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |youennf at gmail.com

--- Comment #10 from Chris Dumez <cdumez at apple.com> ---
(In reply to Brady Eidson from comment #8)
> (In reply to Chris Dumez from comment #6)
> > (In reply to Brady Eidson from comment #1)
> > > (In reply to Brady Eidson from comment #0)
> > > > Certain WebProcesses should opt-out of the freezer
> > > > 
> > > > These include:
> > > > -Prewarmed web processes
> > > > -Processes in the per-domain-process cache
> > > > -Processes in the back/forward cache list
> > > 
> > > Actually that last one is not true. It's "processes that *only host* pages
> > > in the back/forward cache list" and such processes should also already be in
> > > the per-domain-process-cache.
> > > 
> > > Yay.
> > 
> > Seems like we could generalize to:
> > if (m_pageMap.isEmpty() && m_provisionalPages.isEmpty() &&
> > !isServiceWorkerProcess())
> >   // Then no need for the freezer.
> 
> I don't think the provisional page check is quite right.

Can you elaborate? :)

> 
> Also, serviceWorkerProcesses host pages (right?), so that explicit check is
> also needed.

serviceWorkerProcesses host pages? This is news to me but maybe Youenn added a dummy page in there to help with the networking?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190321/3f570b03/attachment.html>


More information about the webkit-unassigned mailing list