BSD Ports

devel/jemalloc 5.3.1 NetBSD

General purpose malloc(3) implementation

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
b2b33712d0
License
2-clause-bsd
Categories
devel
Package size
351.9 KiB, 3458.6 KiB installed

Description

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

jemalloc first came into use as the FreeBSD libc allocator in 2005. In 2010 jemalloc development efforts broadened to include developer support features such as heap profiling, Valgrind integration, and extensive monitoring/tuning hooks. Ongoing development efforts trend toward making jemalloc among the best allocators for a broad range of demanding applications, and eliminating/mitigating weaknesses that have practical repercussions for real world applications.

Install

Binary package:

pkgin install jemalloc

From pkgsrc:

cd /usr/pkgsrc/devel/jemalloc && make install clean

Dependencies

Run dependencies 1
Required by 1

Commit history 1

DateCommitCreditsLog message
b2b33712d0 adam jemalloc: updated to 5.4.0
5.4.0 (Sep 17, 2026) This release contains over 160 commits, focusing on the technical debts cleaning including refactorings, bug fixes, test coverage improvement, and option cleanups. The release also includes portability improvements per upstream issues report. New features: - Add `EXTENT_ALLOC_FLAG_PINNED` so custom extent-allocation hooks can mark non-reclaimable mappings, such as HugeTLB pages, for preferential reuse outside the decay and purge pipeline. Add the mallctl interfaces `stats.pinned`, `stats.arenas.<i>.pinned`, `stats.arenas.<i>.extents.<j>.npinned`, `stats.arenas.<i>.extents.<j>.pinned_bytes`, and `stats.arenas.<i>.mutexes.extents_pinned.{counter}` to report pinned-memory usage and mutex statistics. (@binliu19: be2de8cc) …