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

Alexey Proskuryakov ap at webkit.org
Thu Feb 18 09:49:08 PST 2010


On 18.02.2010, at 6:59, İsmail Dönmez wrote:

> 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.

We definitely need a replacement - another problematic place is  
JSArray::sort, which should be a stable sort, but isn't on platforms  
that don't provide mergesort.

- WBR, Alexey Proskuryakov



More information about the webkit-dev mailing list