Bug 251560 - Cocoa FontCache::platformReleaseNoncriticalMemory should call FontCache::invalidate on all platforms
Summary: Cocoa FontCache::platformReleaseNoncriticalMemory should call FontCache::inva...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Cameron McCormack (:heycam)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-01 16:30 PST by Cameron McCormack (:heycam)
Modified: 2023-02-14 19:47 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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