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

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

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Build
    • None
    • Server Development Platform
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: