[webkit-dev] JSGlobalData & GC collection thread lifetime if webview is recreated without application exit.

Mayur K eminemence at gmail.com
Fri May 25 00:33:49 PDT 2012


Hi All,
Thanks for the reply Geoff.
I am currently facing an issue where in after deleting the webview, but not
exiting the application, after some time the javascript gc thread is seg
faulting. The breakpoints that I have added are also not hitting. So I
think that gc thread is still active even though webview has been deleted.
Are my assumptions correct regarding the js gc thread?
One more query is that JSDOMWindowBase::commonJSGlobalData is a static
object. Again I do not see any one clearing it on webview deletion. Is this
correct behavior?
Thanks.
--Mayur.

On Wed, May 23, 2012 at 12:23 PM, Geoffrey Garen <ggaren at apple.com> wrote:

> So now to my question : Is it required to delete JSGlobalData and kill the
> GC thread if we keep on re-creating the webview again and again without
> exiting the process?
>
>
> No.
>
> Geoff
>



-- 
Symbiangeek,Codekata & Webkitwiki all in one - http://flaminghorns.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120525/53c7afe3/attachment.html>


More information about the webkit-dev mailing list