[webkit-dev] Questions regarding memory debugging
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:
> -- Darin
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev