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

      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.


      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.

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