Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49322

Evaluate feasibility and impact of enabling -fvisibility-inlines-hidden or -fvisibility=hidden

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Server Development Platform
    • Fully Compatible

      Building with -fvisibility-inlines-hidden results in a significantly faster startup time for a dynamically linked build. It also results in a smaller text segment. However, it is not entirely without consequence: it can mean that the address of inline functions cannot be compared across DSOs. We should undertake to understand whether the consequences are acceptable in light of the performance impact.

      See https://gcc.gnu.org/wiki/Visibility for more details.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: