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.
<rdar://problem/111908431>
Pull request: https://github.com/WebKit/WebKit/pull/15633
Committed 266267@main (7d015b7c0f7a): <https://commits.webkit.org/266267@main> Reviewed commits have been landed. Closing PR #15633 and removing active labels.