[webkit-changes] [WebKit/WebKit] 065317: [iOS] Expand Web process cache capacity on some de...

Per Arne Vollan noreply at github.com
Wed Jul 31 15:36:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 065317811b09165c62483eb7f1a95e748cf3a4c5
      https://github.com/WebKit/WebKit/commit/065317811b09165c62483eb7f1a95e748cf3a4c5
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M Source/WebKit/UIProcess/WebProcessCache.cpp

  Log Message:
  -----------
  [iOS] Expand Web process cache capacity on some devices
https://bugs.webkit.org/show_bug.cgi?id=276797
rdar://132513081

Reviewed by Chris Dumez.

Expand Web process cache capacity on some iOS devices. Devices are not normally reporting memory capacity in GB multiples. This patch
is using a more fine grained computation of the cache size, instead of basing it on GB multiples. This will effectively enable the Web
process cache for some devices. We still have the upper limit of 10 Web processes in the cache on iOS, so the cache will never be
bigger than that. On memory pressure, we still shut down the processes in the Web process cache. I have been validating this change on
a device affected by this patch, and so far the testing looks good.

* Source/WebKit/UIProcess/WebProcessCache.cpp:
(WebKit::WebProcessCache::updateCapacity):

Canonical link: https://commits.webkit.org/281675@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list