[webkit-dev] A question regarding to JavaScriptCore's garbage collection mechanism.

Zhe Su james.su at gmail.com
Tue Mar 17 17:09:31 PDT 2009


Thanks. I'll try to trace it to see what exactly happens.

On Wed, Mar 18, 2009 at 2:34 AM, Geoffrey Garen <ggaren at apple.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090318/cd59a6af/attachment.html>


More information about the webkit-dev mailing list