⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 292351 in webkit


Ignore:
Timestamp:
Apr 4, 2022, 3:08:44 PM (5 years ago)
Author:
timothy_horton@apple.com
Message:

Remove the 'RB_full_manage_WK_jetsam' system feature flag and simplify adjacent logic
​https://bugs.webkit.org/show_bug.cgi?id=238760

Reviewed by Chris Dumez.

Source/WebKit:

  • FeatureFlags/WebKit-appletvos.plist:
  • FeatureFlags/WebKit-ios.plist:
  • FeatureFlags/WebKit-macos.plist:
  • FeatureFlags/WebKit-watchos.plist:
  • UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm:

(WebKit::shouldLeakBoost):

Source/WTF:

  • wtf/PlatformHave.h:
Location:
trunk/Source
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r292299 r292351  
     12022-04-04  Tim Horton  <timothy_horton@apple.com>
     2
     3        Remove the 'RB_full_manage_WK_jetsam' system feature flag and simplify adjacent logic
     4        https://bugs.webkit.org/show_bug.cgi?id=238760
     5
     6        Reviewed by Chris Dumez.
     7
     8        * wtf/PlatformHave.h:
     9
    1102022-04-04  Chris Dumez  <cdumez@apple.com>
    211
  • trunk/Source/WTF/wtf/PlatformHave.h

    r292275 r292351  
    731731#endif
    732732
    733 #if PLATFORM(IOS_FAMILY)
    734 #define HAVE_RUNNINGBOARD_WEBKIT_PRIORITY_SUPPORT 1
    735 #endif
    736 
    737733#if PLATFORM(IOS) || PLATFORM(MACCATALYST)
    738734#define HAVE_UI_EVENT_ATTRIBUTION 1
  • trunk/Source/WebKit/ChangeLog

    r292349 r292351  
     12022-04-04  Tim Horton  <timothy_horton@apple.com>
     2
     3        Remove the 'RB_full_manage_WK_jetsam' system feature flag and simplify adjacent logic
     4        https://bugs.webkit.org/show_bug.cgi?id=238760
     5
     6        Reviewed by Chris Dumez.
     7
     8        * FeatureFlags/WebKit-appletvos.plist:
     9        * FeatureFlags/WebKit-ios.plist:
     10        * FeatureFlags/WebKit-macos.plist:
     11        * FeatureFlags/WebKit-watchos.plist:
     12        * UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm:
     13        (WebKit::shouldLeakBoost):
     14
    1152022-04-04  Tim Horton  <timothy_horton@apple.com>
    216
  • trunk/Source/WebKit/FeatureFlags/WebKit-appletvos.plist

    r292349 r292351  
    7878                <true/>
    7979        </dict>
    80         <key>RB_full_manage_WK_jetsam</key>
    81         <dict>
    82                 <key>Enabled</key>
    83                 <true/>
    84         </dict>
    8580        <key>general_directory_for_storage</key>
    8681        <dict>
  • trunk/Source/WebKit/FeatureFlags/WebKit-ios.plist

    r292349 r292351  
    7878                <true/>
    7979        </dict>
    80         <key>RB_full_manage_WK_jetsam</key>
    81         <dict>
    82                 <key>Enabled</key>
    83                 <true/>
    84         </dict>
    8580        <key>general_directory_for_storage</key>
    8681        <dict>
  • trunk/Source/WebKit/FeatureFlags/WebKit-macos.plist

    r292349 r292351  
    8383                <false/>
    8484        </dict>
    85         <key>RB_full_manage_WK_jetsam</key>
    86         <dict>
    87                 <key>Enabled</key>
    88                 <true/>
    89         </dict>
    9085        <key>general_directory_for_storage</key>
    9186        <dict>
  • trunk/Source/WebKit/FeatureFlags/WebKit-watchos.plist

    r292349 r292351  
    7878                <true/>
    7979        </dict>
    80         <key>RB_full_manage_WK_jetsam</key>
    81         <dict>
    82                 <key>Enabled</key>
    83                 <true/>
    84         </dict>
    8580        <key>general_directory_for_storage</key>
    8681        <dict>
  • trunk/Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm

    r292106 r292351  
    8585#if PLATFORM(IOS_FAMILY)
    8686    UNUSED_PARAM(launchOptions);
    87 #if HAVE(RUNNINGBOARD_WEBKIT_PRIORITY_SUPPORT)
    88     // On iOS, we don't need to leak a boost message when RunningBoard process assertions give us the
     87    // On iOS, we don't need to leak a boost message because RunningBoard process assertions give us the
    8988    // right priorities.
    90     static const bool runningBoardHandlesPriorities = isFeatureFlagEnabled("RB_full_manage_WK_jetsam"_s);
    91     return !runningBoardHandlesPriorities;
    92 #else
    93     return true;
    94 #endif // HAVE(RUNNINGBOARD_WEBKIT_PRIORITY_SUPPORT)
     89    return false;
    9590#else
    9691    // On Mac, leak a boost onto the NetworkProcess, GPUProcess, and WebAuthnProcess.
Note: See TracChangeset for help on using the changeset viewer.