[Webkit-unassigned] [Bug 175013] New: Merge ThreadHolder to WTF::Thread itself

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 1 01:53:34 PDT 2017


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

            Bug ID: 175013
           Summary: Merge ThreadHolder to WTF::Thread itself
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: utatane.tea at gmail.com

By doing so, we can put WTF::Thread* directly to TLS (instead of putting ThreadHolder*, which holds Ref<Thread>).
It reduces one level indirection. Yeah, ThreadHolder design is clean and great, but if this is important part, we should take more efficient design.
Actually, we use fast TLS in some platforms (which is pre-allocated TLS by the system, and we can access it with super fast operation, like using segment registers).
If we can drop one level indirection here, it would be awesome.

TLS -> ThreadHolder* -> Thread*
TLS -> Thread*

-- 
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/20170801/3e9fd6e5/attachment.html>


More information about the webkit-unassigned mailing list