Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • athena athena
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Jira
    • Jira
  • Merge requests 140
    • Merge requests 140
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • atlasatlas
  • athenaathena
  • Merge requests
  • !53440

CxxUtils+AthenaCommon+AthenaServices: Add checked_tcmalloc.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Scott Snyder requested to merge ssnyder/athena:checkedtcm.CxxUtils-20220518 into master May 18, 2022
  • Overview 11
  • Commits 4
  • Pipelines 1
  • Changes 100

Build a version of tcmalloc with extra error checking. The code is taken from gperftools 2.8.1, modified for extra checking and for building as part of CxxUtils. It is built into a separate shared library, so won't have any effect unless that library is explicitly loaded.

Only tested for linux/gcc/x86_64, so for now only build for that platform.

To assist in catching errors like double-frees and overwrites. Adds a --checked-tcmalloc flag to Athena. Have CoreDumpSvc handle SIGABRT as well.

Edited May 18, 2022 by Scott Snyder
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: checkedtcm.CxxUtils-20220518