Skip to content

mimallocv3.5.0

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

#Supported Platforms

!uwp

  • linux
  • osx
  • windows
  • uwp

#Features

No default features.

#override

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

Platforms: !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.

#Host Tool For

No ports use this.

#Contributors

  • myd7349's avatarmyd7349
  • Victor Romero's avatarVictor Romero
  • Phoebe's avatarPhoebe
  • Lily's avatarLily
  • JonLiu1993's avatarJonLiu1993
  • Billy O'Neal's avatarBilly O'Neal
  • Rémy Tassoux's avatarRémy Tassoux
  • wangao's avatarwangao
  • chausner's avatarchausner
  • Clayton Wheeler's avatarClayton Wheeler
  • Arsen Tufankjian's avatarArsen Tufankjian
  • autoantwort's avatarautoantwort
  • Jia Yue Hua's avatarJia Yue Hua
  • Kai Pastor's avatarKai Pastor
  • gerard-ryan-immersaview's avatargerard-ryan-immersaview
  • Nick D'Ademo's avatarNick D'Ademo
  • jim wang's avatarjim wang
  • toge's avatartoge
  • miyan's avatarmiyan
  • Weihang Ding's avatarWeihang Ding
  • Tom Conder's avatarTom Conder

#Changelog

Show 29 earlier changes