Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 56
    • Issues 56
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Merge requests
  • !552

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Matthieu Schaller requested to merge tcmalloc_flags into master May 29, 2018
  • Overview 17
  • Commits 7
  • Changes 8

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 May 30, 2018 by Matthieu Schaller
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: tcmalloc_flags