Registry / utility / jemalloc

jemalloc

JSON →
library5.3.0vcpkgunverified

jemalloc is a general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support

utility
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

#include <jemalloc/jemalloc.h>

Allocate and free memory using jemalloc

#include <jemalloc/jemalloc.h> #include <cstdlib> int main() { void* p = malloc(1024); if (p) { free(p); return 0; } return 1; }
Debug
Known footguns
gotchaReplacing system malloc with jemalloc may cause ABI issues if other libraries expect the system allocator.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
12 hits · last 30 days
gptbot
3
claudebot
3
ahrefsbot
1
Resources

No resource links recorded.