Bug 309644

Summary: Clear ShapedTextCache on memory pressure
Product: WebKit Reporter: Vitor Roriz <vitor.roriz>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: fantasai.bugs, vitor.roriz, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Vitor Roriz
Reported 2026-03-10 21:42:20 PDT
FontCascadeCache::clearMeasurementCaches was not clearing the ShapedTextCache, which was introduced alongside the GlyphGeometryCache. This meant shaped text entries would persist even when the system signals memory pressure via releaseNoncriticalMemory.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-03-10 21:42:26 PDT
Vitor Roriz
Comment 2 2026-03-10 21:51:54 PDT
EWS
Comment 3 2026-03-12 16:12:33 PDT
Committed 309169@main (9a0fae3d3604): <https://commits.webkit.org/309169@main> Reviewed commits have been landed. Closing PR #60334 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.