[Webkit-unassigned] [Bug 169505] New: libwebrtc.dylib contains a global initializer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 10 20:15:56 PST 2017


            Bug ID: 169505
           Summary: libwebrtc.dylib contains a global initializer
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mitz at webkit.org
                CC: achristensen at apple.com, joepeck at webkit.org,
                    sam at webkit.org

libwebrtc.dylib contains a global initializer:

$ nm -j libwebrtc.dylib | fgrep __GLOBAL__

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.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170311/990d5af5/attachment.html>

More information about the webkit-unassigned mailing list