[Webkit-unassigned] [Bug 118573] 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
Fri Jul 12 11:25:57 PDT 2013


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





--- Comment #7 from Yi Shen <max.hong.shen at gmail.com>  2013-07-12 11:27:59 PST ---
Thanks for review. How about removing the API thread lock/unlock for the VM which has an exclusive thread? For example, WK2 is using JSC APIs within the injected bundle, which runs in the WebCore's exclusive VM. I believe it is thread safety when executing JSC APIs in the WebCore's VM.  

(In reply to comment #5)
> (From update of attachment 206480 [details])
> Even unshared VMs need locking, since they can be used on more than one thread.
> 
> I'm intrigued by your test case, though. Maybe there's another way to optimize this.

-- 
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