[Webkit-unassigned] [Bug 61016] [WebWorkers][Chromium] Use v8 Isolates for in-process implementation of WebWorkers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 1 19:25:46 PDT 2011


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





--- Comment #6 from Dmitry Titov <dimich at chromium.org>  2011-06-01 19:25:46 PST ---
(From update of attachment 95694)
View in context: https://bugs.webkit.org/attachment.cgi?id=95694&action=review

> Source/WebCore/bindings/v8/V8Binding.cpp:62
> +    if (embedderData) { return static_cast<V8BindingPerIsolateData*>(embedderData); }

It's possible to avoid this 'if' - by assuming the data is always there. It's possible to initialize it in the ScriptController. The 'if' will consume few clocks every time...

Also, we could have V8 expose Isolate::GetCurrentIsolateData() to avoid one extra non-inlinable call. Of course, only if it actually saves part of the expected perf problem :-)

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