Changeset 243490 in webkit


Ignore:
Timestamp:
Mar 26, 2019 3:16:46 AM (5 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK][WPE] Disable process warming
https://bugs.webkit.org/show_bug.cgi?id=196208

Patch by Patrick Griffis <Patrick Griffis> on 2019-03-26
Reviewed by Chris Dumez.

Fixes crash caused by r243384.

Process warming is incompatible with our launcher as it expects a valid
WebsiteDataStore at initialization time for sandbox permissions.

  • UIProcess/glib/WebProcessPoolGLib.cpp:

(WebKit::WebProcessPool::platformInitialize):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r243487 r243490  
     12019-03-26  Patrick Griffis  <pgriffis@igalia.com>
     2
     3        [GTK][WPE] Disable process warming
     4        https://bugs.webkit.org/show_bug.cgi?id=196208
     5
     6        Reviewed by Chris Dumez.
     7
     8        Fixes crash caused by r243384.
     9
     10        Process warming is incompatible with our launcher as it expects a valid
     11        WebsiteDataStore at initialization time for sandbox permissions.
     12
     13        * UIProcess/glib/WebProcessPoolGLib.cpp:
     14        (WebKit::WebProcessPool::platformInitialize):
     15
    1162019-03-25  Alex Christensen  <achristensen@webkit.org>
    217
  • trunk/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp

    r242593 r243490  
    8787    if (!memoryPressureMonitorDisabled())
    8888        installMemoryPressureHandler();
     89
     90    // Process warming is incompatible with the fact our WebProcessProxy::platformGetLaunchOptions()
     91    // requires a valid WebsiteDataStore at initialization time for our sandbox permissions.
     92    // FIXME: With process warming disabled, the performance of
     93    // process-swap-on-navigation is not going to be great. So this needs to be
     94    // re-enabled when we enable PSON.
     95    configuration().setIsAutomaticProcessWarmingEnabled(false);
    8996}
    9097
Note: See TracChangeset for help on using the changeset viewer.