Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-14462

Add an automatic check to verify that TCMalloc is loaded during CI testing

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Evergreen
    • None
    • Storage Engines, Storage Engines - Foundations
    • SE Foundations - 2025-06-06
    • 5

      According to a recent investigation we discovered that TCMalloc haven't been loaded during CI WT testing. Bringing TCMalloc back to CI is a different ticket( https://jira.mongodb.org/browse/WT-14389 ). But it was decided to create this one to add automatic verification for TCMalloc existence since it is important for us to be 100% sure that we have TCMalloc loaded.

      The result of the research of the options that we have is fully described here: https://github.com/wiredtiger/wiredtiger/pull/11885#issuecomment-2837826395

      Also, it worth mentioning, that probably the best option to be ensured that TCMalloc is loaded is to create explicit dependency during compilation. It had been done by this way some time ago and after this we switched to using LD_PRELOAD, but maybe it worth double checking whether we can switch back.

       

      See reasoning for the initial switch to LD_PRELOAD here:

       

       

            Assignee:
            ivan.kochin@mongodb.com Ivan Kochin
            Reporter:
            ivan.kochin@mongodb.com Ivan Kochin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: