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

İsmail Dönmez ismail at namtrac.org
Thu Feb 18 06:59:35 PST 2010


Hi;

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.

Regards,
İsmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100218/0ab43461/attachment.html>


More information about the webkit-dev mailing list