[Webkit-unassigned] [Bug 118573] New: API Shims don't need thread lock if the VM is not a APIShared type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 11 11:30:29 PDT 2013


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

           Summary: API Shims don't need thread lock if the VM is not a
                    APIShared type
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: max.hong.shen at gmail.com


Remove the thread lock from API Shims if the VM is not a APIShared type. The similar logic could be found in old revision of JSLock, which does the lock or unlock only when exec->globalData().isSharedInstance() is true. By removing the thread lock, the JSC API static function call could be 60% times faster than before.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list