[webkit-dev] [Possibly spoofed] Re: Loading and unloading webkit, threading, AtomicString and crashes
Van Den Berghe, Vincent
Vincent.VanDenBerghe at bvdinfo.com
Sun Sep 15 22:40:28 PDT 2013
Thanks for doing this. It was already darkness here, and I was sleeping.
From: Brent Fulgham [mailto:bfulgham at gmail.com]
Sent: Monday, September 16, 2013 5:00 AM
To: Alexey Proskuryakov
Cc: Van Den Berghe, Vincent; webkit-dev at lists.webkit.org
Subject: [Possibly spoofed] Re: [webkit-dev] Loading and unloading webkit, threading, AtomicString and crashes
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:
On Sep 15, 2013, at 10:52 AM, Alexey Proskuryakov <ap at webkit.org<mailto:ap at webkit.org>> wrote:
15.09.2013, в 08:53, "Van Den Berghe, Vincent" <Vincent.VanDenBerghe at bvdinfo.com<mailto: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<mailto:webkit-dev at lists.webkit.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev