Bug 244919

Summary: Make FontCache use ThreadSpecific instead of ThreadGlobalData
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Layout and RenderingAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bfulgham, commit-queue, heycam, simon.fraser, webkit-bug-importer, youennf, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=247655
Bug Depends on: 247774    
Bug Blocks: 183720, 246627    

Matt Woodrow
Reported 2022-09-07 19:06:26 PDT
ThreadGlobalData doesn't handle the case where we try to access it while it's being shut down, and the font code tries to do that. ThreadSpecific should be faster, and safe for this case.
Attachments
Matt Woodrow
Comment 1 2022-09-07 19:14:20 PDT
Radar WebKit Bug Importer
Comment 2 2022-09-14 19:07:27 PDT
EWS
Comment 3 2022-10-26 21:32:12 PDT
Committed 256048@main (21308fa925b8): <https://commits.webkit.org/256048@main> Reviewed commits have been landed. Closing PR #4118 and removing active labels.
WebKit Commit Bot
Comment 4 2022-11-10 17:46:24 PST
Re-opened since this is blocked by bug 247774
Kimmo Kinnunen
Comment 5 2024-04-09 03:40:11 PDT
*** Bug 246627 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.