Bug 251560

Summary: Cocoa FontCache::platformReleaseNoncriticalMemory should call FontCache::invalidate on all platforms
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: TextAssignee: Cameron McCormack (:heycam) <heycam>
Status: NEW    
Severity: Normal CC: mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Cameron McCormack (:heycam)
Reported 2023-02-01 16:30:12 PST
The call to invalidate() was removed on non-macOS in bug 251559 due to causing memory regressions on iOS. We should understand why this is, because invalidate() should be clearing more memory. Maybe it's somehow causing more memory to be used in the GPU process, when GPU process DOM rendering is enabled? (And that's why it didn't show as a regression on macOS?)
Attachments
Radar WebKit Bug Importer
Comment 1 2023-02-08 16:31:17 PST
Cameron McCormack (:heycam)
Comment 2 2023-02-14 19:47:03 PST
Note You need to log in before you can comment on or make changes to this bug.