This code was tested against webkit svn. Anyone can help me explain this behavior? Is it a bug of JavaScriptCore?

Most likely, the conservative nature of the garbage collector prevents the function from being reclaimed in this case.

You can step through JSC::Heap::collect() to see exactly why the object is not reclaimed.

Without further evidence, I wouldn't consider this a bug.

Geoff
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to