Skip to Content

mimalloc v2.2.3

Created
Updated

Compact general purpose allocator with excellent performance

# Usage

mimalloc provides CMake targets:

find_package(mimalloc CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:mimalloc-static>,mimalloc-static,mimalloc>) 

To ensure the mimalloc-override.dll is loaded at runtime on Windows with
dynamic linkage, it is suggested to insert some call to the mimalloc API
in the main function, eg. mi_version(). Cf.
https://github.com/microsoft/mimalloc/blob/dev/readme.md#dynamic-override-on-windows

# License

# Supported Platforms

!uwp

  • linux
  • osx
  • windows
  • uwp

# Features

No default features set.

# override

Override the standard malloc interface (i.e. define entry points for 'malloc', 'free', etc)

Supports: !windows | !static
  • linux
  • osx
  • windows-dynamic
  • windows-static
Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# secure

Use full security mitigations (like guard pages, allocation randomization, double-free mitigation, and free-list corruption detection)

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# Dependencies

No dependencies.

# Host Dependencies

No transitive dependencies.

# Dependents

# Host Dependents

No dependents.

# Contributors

  • myd7349's avatar myd7349
  • Victor Romero's avatar Victor Romero
  • Phoebe's avatar Phoebe
  • Lily's avatar Lily
  • JonLiu1993's avatar JonLiu1993
  • Billy O'Neal's avatar Billy O'Neal
  • Rémy Tassoux's avatar Rémy Tassoux
  • wangao's avatar wangao
  • chausner's avatar chausner
  • Clayton Wheeler's avatar Clayton Wheeler
  • Arsen Tufankjian's avatar Arsen Tufankjian
  • autoantwort's avatar autoantwort
  • Jia Yue Hua's avatar Jia Yue Hua
  • Kai Pastor's avatar Kai Pastor
  • gerard-ryan-immersaview's avatar gerard-ryan-immersaview
  • Nick D'Ademo's avatar Nick D'Ademo
  • jim wang's avatar jim wang

# Changelog

  • fa98b3d [mimalloc] Export C++ linkage in pc file (#44721)
  • faf9ce4 [mimalloc] Update to 2.2.3 (#44720)
  • c54f029 [mimalloc] Fix build error on x64-android (#41694)
  • d8e2b83 [mimalloc] update to 2.1.7 (#39650)
  • 6db51d8 [vcpkg_replace_string] warn unchanged by call (#34719)
  • 247dc60 [mimalloc,vcpkg-ci-mimalloc] Fix exported usage, add test port (#37499)
  • 8e03049 [mimalloc] Fix android, clarify usage (#35713)
  • 979ce0d [mimalloc] update to 2.1.2 (#34816)
  • 93e173a [mimalloc] update to 2.1.1 to build failure (#30710)
  • 89248af [mimalloc] Update to 2.0.9 (#29084)
and 17 more commits:

# Source