Skip to Content

snmalloc v0.7.4

Created
Updated

A high-performance, message passing based allocator

# Usage

snmalloc provides CMake integration via:

find_package(snmalloc CONFIG REQUIRED)
target_link_libraries(<your-target> PRIVATE snmalloc::snmalloc) 

If installed with the "static-shim" feature, a compiled static library is also
available that replaces malloc/free with a "sn_" prefix (e.g. sn_malloc, sn_free):

target_link_libraries(<your-target> PRIVATE snmalloc::snmallocshim-static) 

On non-Windows, the "static-shim" feature also installs shared library shims
(snmalloc::snmallocshim, snmalloc::snmallocshim-checks, snmalloc::snmalloc-minimal)
that can be used for LD_PRELOAD-based allocator replacement.

# License

# Supported Platforms

All platforms are supported

# Features

No default features set.

# static-shim

Build and install snmallocshim-static, a compiled static library that exports malloc/free with a configurable symbol prefix (default: sn_)

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# Dependencies

No dependencies.

# Host Dependencies

No transitive dependencies.

# Dependents

# Host Dependents

No dependents.

# Contributors

  • Matthew A Johnson's avatar Matthew A Johnson

# Changelog

  • de31160 [snmalloc] Add new port at 0.7.4 (#50653)

# Source