Bug 242499

Summary: [GPU Process] Under memory pressure WebPage should release its cached shared NativeImages
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: Layout and RenderingAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Said Abou-Hallawa
Reported 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.
Attachments
Said Abou-Hallawa
Comment 1 2022-07-08 01:25:44 PDT
Radar WebKit Bug Importer
Comment 2 2022-07-08 01:28:34 PDT
EWS
Comment 3 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.
Note You need to log in before you can comment on or make changes to this bug.