[Webkit-unassigned] [Bug 228240] 3.5 MB system-wide footprint impact due to thread-locals in libANGLE

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 23 11:32:21 PDT 2021


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

Dean Jackson <dino at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #434103|                            |review?
              Flags|                            |

--- Comment #2 from Dean Jackson <dino at apple.com> ---
Created attachment 434103

  --> https://bugs.webkit.org/attachment.cgi?id=434103&action=review

WIP

Work in progress to get review. Please ignore the change to WebKit networking code - that was to help a local compile.

I'm not confident in this patch because:
- I've never used pthread_key_create before
- I'm worried about a performance regression in querying state on every access (which happens a lot)
- I want a better place to initialise and delete the keys
- This is an invasive patch that will need to be applied each time we update ANGLE

Eventually we'll fix dyld's thread_local implementation.

-- 
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/20210723/5544ad77/attachment.htm>


More information about the webkit-unassigned mailing list