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   

Description Cameron McCormack (:heycam) 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?)
Comment 1 Radar WebKit Bug Importer 2023-02-08 16:31:17 PST
<rdar://problem/105197603>
Comment 2 Cameron McCormack (:heycam) 2023-02-14 19:47:03 PST
Pull request: https://github.com/WebKit/WebKit/pull/10117