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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/111908431>
Per Arne Vollan
Pull request: https://github.com/WebKit/WebKit/pull/15633
EWS
Committed 266267@main (7d015b7c0f7a): <https://commits.webkit.org/266267@main>
Reviewed commits have been landed. Closing PR #15633 and removing active labels.