[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:29:42 PDT 2019


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

--- Comment #8 from Brady Eidson <beidson at apple.com> ---
(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.

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

-- 
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/8974c569/attachment.html>


More information about the webkit-unassigned mailing list