Bug 243189

Summary: Evict unused fonts after 4 rendering updates containing paint changes.
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Layout and RenderingAssignee: Matt Woodrow <mattwoodrow>
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   

Matt Woodrow
Reported 2022-07-25 18:36:28 PDT
<rdar://97346409> We previously evicted fonts from the resource cache if they hadn't been used for 4 rendering updates. Many rendering updates don't contain any paint changes, so always count all fonts as 'unused'. This changes us to only count rendering updates that contain painting towards deciding if a font has been unused long enough to be evicted.
Attachments
Matt Woodrow
Comment 1 2022-07-25 18:37:12 PDT
EWS
Comment 2 2022-07-26 14:45:56 PDT
Committed 252844@main (2da5f7dd5dd8): <https://commits.webkit.org/252844@main> Reviewed commits have been landed. Closing PR #2723 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.