Bug 288587

Summary: GPU process uses same map for all resources
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: WebKit Process ModelAssignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: nham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Kimmo Kinnunen
Reported 2025-02-26 02:51:46 PST
GPU process uses same map for all resources This is a problem for - performance: lookups are slower because the type is the best discriminator - memory size: bigger maps reserve bigger overallocation - type safety: code can mistake A for B if A and B are in the same map - code structure: the key, RenderingResourceIdentifier, is making the code more obscure than having each type have its own identifier, similar to any other resource
Attachments
Radar WebKit Bug Importer
Comment 1 2025-02-26 02:51:55 PST
Kimmo Kinnunen
Comment 2 2025-02-26 03:12:22 PST
EWS
Comment 3 2025-03-05 04:53:05 PST
Committed 291617@main (c8076268408d): <https://commits.webkit.org/291617@main> Reviewed commits have been landed. Closing PR #41393 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.