vniles at gmail.com
Mon Mar 16 00:51:12 PDT 2009
Thanks For reply !!
I also wish to know about best way of memory profiling for webkit. I
mean how can i make sure that all the object that are allocated are
destroyed properly ?
Is it possible to account/make entry of memory as soon as it is
allocated and deallocated ?
Thanks & Regads
On Fri, Mar 13, 2009 at 9:37 PM, Darin Adler <darin at apple.com> wrote:
> On Mar 13, 2009, at 4:17 AM, natasha gabriella wrote:
>> I happened to go through code of webkit an sfound some Shared<T> class.
> That class template has a new name in the latest WebKit; it’s now named
>> What exactly it does.
> It implements simple intrusive reference counting.
>> Is it like class object is singleton and shared among ?
> No, it is not. It adds a reference count to a class. The reason it’s a
> template is so we don’t have to write the reference counting by hand for
> each class we want ot use it for.
>> Moreover if multiple window (mostly will be achieved by using some tab
>> like interface) are used, What all loader are advices to be shared ?
> I don’t understand this question.
> -- Darin
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
More information about the webkit-dev