[webkit-dev] Loading and unloading webkit, threading, AtomicString and crashes

Brent Fulgham bfulgham at gmail.com
Sun Sep 15 20:00:23 PDT 2013


I realized it was easier to light a candle than curse the darkness, so I converted the original e-mail to a bug.  Let's move discussion of this issue there:

https://bugs.webkit.org/show_bug.cgi?id=121407

Thanks!

-Brent

On Sep 15, 2013, at 10:52 AM, Alexey Proskuryakov <ap at webkit.org> wrote:

> 
> 15.09.2013, в 08:53, "Van Den Berghe, Vincent" <Vincent.VanDenBerghe at bvdinfo.com> написал(а):
> 
>>     static AtomicString lucidaStr("Lucida Grande");
> 
> 
> It is a mistake to use static objects with destructors in WebKit - we don't want to waste time destructing them at process termination time. To fix this issue, DEFINE_STATIC_LOCAL should be used.
> 
> In a somewhat dated checkout I have on this machine, I found 5 instances of "static AtomicString" in WebCore, and none in WebKit/win.
> 
> - WBR, Alexey Proskuryakov
> 
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130915/8c8885a6/attachment.html>


More information about the webkit-dev mailing list