Bug 258978

Summary: Enable Web process cache on iOS
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Per Arne Vollan
Reported 2023-07-07 08:00:26 PDT
Enable the Web process cache on iOS by addressing an issue where the physical memory size in GB is reported as zero, causing the process cache capacity to be set to zero. This is because the jetsam limit is taken into consideration in this computation on iOS. This patch adds a function that returns the memory size without considering the jetsam limit of the calling process. Additionally, when a cached WebContent process is suspended, we should not release the memory immediately, since keeping this memory is a speedup when the cached process is being used again. This change is a speedup on page load benchmarks.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-07-07 08:00:44 PDT
Per Arne Vollan
Comment 2 2023-07-07 08:03:37 PDT
EWS
Comment 3 2023-07-24 15:49:35 PDT
Committed 266267@main (7d015b7c0f7a): <https://commits.webkit.org/266267@main> Reviewed commits have been landed. Closing PR #15633 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.