Bug 169505
| Summary: | libwebrtc.dylib contains a global initializer | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | mitz |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | achristensen, joepeck, sam, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
mitz
libwebrtc.dylib contains a global initializer:
$ nm -j libwebrtc.dylib | fgrep __GLOBAL__
__GLOBAL__sub_I_logging.cc
This appears to be the initializer for g_log_crit and LogMessage::streams_ in webrtc/base/logging.cc
These things should be initialized lazily so that not every executable that links against WebKit pays the launch-time cost of initializing them.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/30989647>
Alex Christensen
*** This bug has been marked as a duplicate of bug 169973 ***