Hi Darin,

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
Niilesh

On Fri, Mar 13, 2009 at 9:37 PM, Darin Adler <[email protected]> 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
> RefCounted<>.
>
>> 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
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to