[webkit-dev] Questions regarding memory debugging

David Levin levin at chromium.org
Wed Mar 10 11:35:20 PST 2010


On Wed, Mar 10, 2010 at 11:27 AM, Darin Adler <darin at apple.com> wrote:

> On Mar 10, 2010, at 11:15 AM, Mike Marchywka wrote:
>
> > I haven't looked at this code but is SharedBuffer thread safe etc?
>
> SharedBuffer uses RefCounted, an implementation that works only on a single
> thread, as opposed to the slower CrossThreadRefCounted.
>
> We can test your guess about the memory problems being a thread-safety
> issue by adding assertions that check ref and deref are called only on one
> thread. Those would be extremely valuable. Someone was working on assertions
> of that type a while back, but I don’t think we successfully landed them.
>

Here's the bug if someone wants to take that up:
https://bugs.webkit.org/show_bug.cgi?id=31639
<https://bugs.webkit.org/show_bug.cgi?id=31639>

>
>    -- Darin
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100310/f796ad8a/attachment.html>


More information about the webkit-dev mailing list