[Webkit-unassigned] [Bug 288587] New: GPU process uses same map for all resources

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 26 02:51:46 PST 2025


https://bugs.webkit.org/show_bug.cgi?id=288587

            Bug ID: 288587
           Summary: GPU process uses same map for all resources
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Process Model
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com
                CC: nham at apple.com, webkit-bug-importer at group.apple.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20250226/a3caf511/attachment.htm>


More information about the webkit-unassigned mailing list