Bug 301777

Summary: Web Inspector: Find a way to determine threads used by WebKit WorkQueues without relying on dispatch queue names
Product: WebKit Reporter: Qianlang Chen <qianlangchen>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=201409

Qianlang Chen
Reported 2025-10-31 14:34:42 PDT
We should find a better way to categorize threads as WebKit-related in `ResourceUsageThread::platformCollectCPUData` [1] that doesn't rely on retrieving and checking the dispatch queues' names of threads, as that operation may be unsafe. - [1]: https://github.com/WebKit/WebKit/blob/bf52cae904fe46c8a2a69ef97a4ffef1a8d020bf/Source/WebCore/page/cocoa/ResourceUsageThreadCocoa.mm#L211-L214
Attachments
Radar WebKit Bug Importer
Comment 1 2025-11-07 13:35:11 PST
Note You need to log in before you can comment on or make changes to this bug.