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

Investigate if TCMalloc should be used with ASan/MSan builds

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • 8
    • StorEng - Defined Pipeline

      Summary
      This will need more research, investigation, and testing but TCMalloc may not work well with ASan/MSan.

      As soon as we enabled TCMalloc (WT-7885) along with ASan, we faced issues and created WT-8194 but also WT-8195 which is related to MSan.

      Furthermore, in WT-8946, we found out that the Server team disables TCMalloc whenever ASan is enabled and we may want to align.

      Motivation

      Before trying to fix more tickets that are caused by TCMalloc being used along with sanitizers, we should make sure they are compatible.

      Acceptance Criteria (Definition of Done)
      If they appear to be compatible, we can close this ticket and keep the code as it is. On the other hand, if they are not compatible, we should update our Evergreen file so we don't mix them and disable TCMalloc wherever the sanitizers are enabled.

            Assignee:
            marc.butler@mongodb.com Marc Butler
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: