Bug 233984 - Make FontCache allowlist thread safe
Summary: Make FontCache allowlist thread safe
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Cameron McCormack (:heycam)
Keywords: InRadar
Depends on:
Blocks: 233488
  Show dependency treegraph
Reported: 2021-12-07 23:00 PST by Cameron McCormack (:heycam)
Modified: 2021-12-14 23:01 PST (History)
5 users (show)

See Also:

Patch (3.59 KB, patch)
2021-12-07 23:01 PST, Cameron McCormack (:heycam)
mmaxfield: review+
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron McCormack (:heycam) 2021-12-07 23:00:55 PST
Make FontCache allowlist thread safe
Comment 1 Cameron McCormack (:heycam) 2021-12-07 23:01:55 PST
Created attachment 446310 [details]
Comment 2 Myles C. Maxfield 2021-12-10 14:49:11 PST
Comment on attachment 446310 [details]

View in context: https://bugs.webkit.org/attachment.cgi?id=446310&action=review

> Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp:1225
> +    Locker locker { Allowlist::lock };

This might be an opportunity for performance improvement, since this allowlist is only used for testing.
Comment 3 Radar WebKit Bug Importer 2021-12-14 23:01:24 PST