[webkit-dev] global new/delete operator in WebKit

Stephan Assmus superstippi at gmx.de
Thu Feb 18 07:30:42 PST 2010


On 2010-02-18 at 15:59:35 [+0100], İsmail Dönmez <ismail at namtrac.org> wrote:
> Picking up and old thread I know...
> On Wed, Jan 13, 2010 at 7:19 PM, Darin Adler <darin at apple.com> wrote:
> > Yong Li also asked about standard library functions calling new and 
> > delete,
> > specifically STL. I believe we have been avoiding calling these functions 
> > in
> > WebKit, but I may be mistaken.
> >
> Recently I came across some memory corruption issues and turns out that
> WebKit uses std::stable_sort which uses the operator new(nothrow) . I am not
> sure if there is a useful replacement but its good to know about this.

Can you elaborate on this? Were these the cause for your memory corruption? 
If yes, where and how did you solve it?

Best regards,

More information about the webkit-dev mailing list