Bug 242499 - [GPU Process] Under memory pressure WebPage should release its cached shared NativeImages
Summary: [GPU Process] Under memory pressure WebPage should release its cached shared ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-08 01:07 PDT by Said Abou-Hallawa
Modified: 2022-07-08 11:42 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2022-07-08 01:07:12 PDT
WebProcess::initializeWebProcess() sets a low memory pressure handler. This handler loops through the WebPages and call WebPage::releaseMemory() for every one. This function just calls RemoteResourceCacheProxy::releaseMemory() but this function does not release the cached shared NativeImages.
Comment 1 Said Abou-Hallawa 2022-07-08 01:25:44 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2214
Comment 2 Radar WebKit Bug Importer 2022-07-08 01:28:34 PDT
<rdar://problem/96656391>
Comment 3 EWS 2022-07-08 11:42:03 PDT
Committed 252286@main (a07f7ff6ab85): <https://commits.webkit.org/252286@main>

Reviewed commits have been landed. Closing PR #2214 and removing active labels.