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

2012-05-25 Thread Mayur K
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

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

2012-05-25 Thread Geoffrey Garen
So I think that gc thread is still active even though webview has been deleted. Are my assumptions correct regarding the js gc thread? No. There's no dedicated GC thread. One more query is that JSDOMWindowBase::commonJSGlobalData is a static object. Again I do not see any one clearing it

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

2012-05-23 Thread Mayur K
Hi All, I have been studying the JS execution and noticed that the JSGlobalData is stored in a static variable and never deleted. I traced even the windows port and noticed one more thing, that the JSGlobalData and the Heap class destructor are never called. As it is static I assume that the

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

2012-05-23 Thread Geoffrey Garen
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 ___ webkit-dev mailing list webkit-dev@lists.webkit.org