Skip to content
Snippets Groups Projects

More standard ways of linking other allocators - Correctly apply tc-malloc recommended flags.

Merged Matthieu Schaller requested to merge tcmalloc_flags into master

Changes are:

  • Correctly cancel the built-ins to malloc and friends that GCC and friends use when compiling with an alternative allocator library.
  • Add the option to link in TBBmalloc following the same pattern as tcmalloc and jemalloc.
  • Make sure we do not have more than one alternative allocator library linked in.
  • Update the README.
  • Also make use of the alternative allocators in the unit tests.
  • Print the allocator choice into the snapshot meta-data.
Edited by Matthieu Schaller

Merge request reports

Merged by avatar (May 14, 2025 5:53pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading