Skip to content
⌘K

jemalloc

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

health 91contrib 5711k

Overview & architecture

C++ standard
–
Build systems
autotools
Languages
C
Last release
5.4.0 · Sep 17, 2026

Repository activity

snapshot Nov 23, 2026
GitHub stars
latest
11k▲ 62
Merged PRs (30d)
latest
28▲ 13
Contributors (90d)
latest
20▲ 12
Issue first response p50
–
No snapshots yet.
340 open issues33 open PRs42 commits (30d)

Recent notable activity

  • RFC / tracking
    RFC: "warrens", a second-level extents cache to reduce TLB shootdowns

    Introduction While investigating the scaling of a large multithreaded application running on Linux on an AMD EPYC 9655 processor (96 cores, 192 SMTs), I realised that a measurable drop in performance comes from the increase in TLB…

    fwyzard#3081 · by fwyzard
  • Merged PR
    Add OTEL probes and profiling mode that only emits probes

    Attempt to address #3011 by upstreaming the USDT interface needed by OpenTelemetry heap profilers. The first two commits are the core change addressing the ask: Refactor to support USDT provider in a macro - mechanical Add…

    spredolac#3015 · by spredolac
  • Release
    jemalloc 5.4.0

    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…

    guangli-dai5.4.0
  • Release
    jemalloc 5.3.1

    This release includes over 390 commits spanning bug fixes, new features, performance optimizations, and portability improvements. Multiple percent of system-level metric improvements were measured in tested production workloads. The release has gone through large-scale production testing at Meta. New features: Support…

    guangli-dai5.3.1
  • Release
    jemalloc 5.3.0

    This release contains many speed and space optimizations, from micro optimizations on common paths to rework of internal data structures and locking schemes, and many more too detailed to list below. Multiple percent of system level metric improvements were measured in tested production workloads. The release has gone…

    interwq5.3.0
  • Release
    jemalloc 5.2.1

    This release is primarily about Windows. A critical virtual memory leak is resolved on all Windows platforms. The regression was present in all releases since 5.0.0. Bug fixes: Fix a severe virtual memory leak on Windows. This regression was first released in 5.0.0. (@Ignition, @j0t, @frederik-h, @davidtgoldblatt,…

    interwq5.2.1
  • Release
    jemalloc 5.2.0

    This release includes a few notable improvements, which are summarized below: 1) improved fast-path performance from the optimizations by @djwatson; 2) reduced virtual memory fragmentation and metadata usage; and 3) bug fixes on setting the number of background threads. In addition, peak / spike memory usage is…

    interwq5.2.0
  • Release
    jemalloc 5.1.0

    This release is primarily about fine-tuning, ranging from several new features to numerous notable performance and portability enhancements. The release and prior dev versions have been running in multiple large scale applications for months, and the cumulative improvements are substantial in many cases. Given the…

    interwq5.1.0
  • Release
    jemalloc 5.0.1

    This bugfix release fixes several issues, most of which are obscure enough that typical applications are not impacted. Bug fixes: Update decay->nunpurged before purging, in order to avoid potential update races and subsequent incorrect purging volume. (@interwq) Only abort on dlsym(3) error if the failure impacts an…

    jasone5.0.1
  • Release
    jemalloc 5.0.0

    Unlike all previous jemalloc releases, this release does not use naturally aligned "chunks" for virtual memory management, and instead uses page-aligned "extents". This change has few externally visible effects, but the internal impacts are... extensive. Many other internal changes combine to make this the most…

    jasone5.0.0
  • Release
    jemalloc 4.5.0

    This is the first release to benefit from much broader continuous integration testing, thanks to @davidtgoldblatt. Had we had this testing infrastructure in place for prior releases, it would have caught all of the most serious regressions fixed by this release. New features: Add --disable-thp and the opt.thp mallctl…

    jasone4.5.0
  • Release
    jemalloc 4.4.0

    New features: Add configure support for *-*-linux-android. (@cferris1000, @jasone) Add the --disable-syscall configure option, for use on systems that place security-motivated limitations on syscall(2). (@jasone) Add support for Debian GNU/kFreeBSD. (@thesam) Optimizations: Add extent serial numbers and use them where…

    jasone4.4.0

Stories

ReleaseFor you

jemalloc 5.4.0 released

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…

Why it matters: jemalloc is in Core Libraries (one of your focus areas).

Maintainers & organizations

every claim links to its source

Maintainers

No maintainers recorded yet.

Top contributors

Releases & changelog

  • jemalloc 5.4.0major

    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…

  • jemalloc 5.3.1

    This release includes over 390 commits spanning bug fixes, new features, performance optimizations, and portability improvements. Multiple percent of system-level metric improvements were measured in tested production workloads. The release has gone through large-scale production testing at Meta. New features: Support…

  • jemalloc 5.3.0major

    This release contains many speed and space optimizations, from micro optimizations on common paths to rework of internal data structures and locking schemes, and many more too detailed to list below. Multiple percent of system level metric improvements were measured in tested production workloads. The release has gone…

  • jemalloc 5.2.1

    This release is primarily about Windows. A critical virtual memory leak is resolved on all Windows platforms. The regression was present in all releases since 5.0.0. Bug fixes: Fix a severe virtual memory leak on Windows. This regression was first released in 5.0.0. (@Ignition, @j0t, @frederik-h, @davidtgoldblatt,…

  • jemalloc 5.2.0major

    This release includes a few notable improvements, which are summarized below: 1) improved fast-path performance from the optimizations by @djwatson; 2) reduced virtual memory fragmentation and metadata usage; and 3) bug fixes on setting the number of background threads. In addition, peak / spike memory usage is…

  • jemalloc 5.1.0major

    This release is primarily about fine-tuning, ranging from several new features to numerous notable performance and portability enhancements. The release and prior dev versions have been running in multiple large scale applications for months, and the cumulative improvements are substantial in many cases. Given the…

  • jemalloc 5.0.1

    This bugfix release fixes several issues, most of which are obscure enough that typical applications are not impacted. Bug fixes: Update decay->nunpurged before purging, in order to avoid potential update races and subsequent incorrect purging volume. (@interwq) Only abort on dlsym(3) error if the failure impacts an…

  • jemalloc 5.0.0major

    Unlike all previous jemalloc releases, this release does not use naturally aligned "chunks" for virtual memory management, and instead uses page-aligned "extents". This change has few externally visible effects, but the internal impacts are... extensive. Many other internal changes combine to make this the most…

  • jemalloc 4.5.0major

    This is the first release to benefit from much broader continuous integration testing, thanks to @davidtgoldblatt. Had we had this testing infrastructure in place for prior releases, it would have caught all of the most serious regressions fixed by this release. New features: Add --disable-thp and the opt.thp mallctl…

  • jemalloc 4.4.0major

    New features: Add configure support for *-*-linux-android. (@cferris1000, @jasone) Add the --disable-syscall configure option, for use on systems that place security-motivated limitations on syscall(2). (@jasone) Add support for Debian GNU/kFreeBSD. (@thesam) Optimizations: Add extent serial numbers and use them where…

Contribution opportunities

0 published

No published opportunities

Cards are published only for real, open, unassigned issues with maintainer engagement. Contribution scanning is off for this project.

Why this score

Health 91Contribution friendliness 57computed 19h ago
  • Activity0.96
    28 merged PRs in 30 days (full marks at 20); 43 commits in 30 days (full marks at 60) [health score: no data for backlog pressure; weights renormalized]health
  • Onboarding0.25
    has CI; missing contributing guide, mainstream build (CMake/Bazel/Meson), docs site [contrib score: no data for entry points; weights renormalized]contrib
  • Maintainer responsiveness0.84
    median PR merge time 115 h (full marks within 72 h, zero after 60 days) [health score: no data for backlog pressure; weights renormalized] [contrib score: no data for entry points; weights renormalized]healthcontrib
  • Release cadence0.87
    last release 66 days ago (full marks within 90, zero after 730); 2 releases in 365 days (full marks at 4) [health score: no data for backlog pressure; weights renormalized]health
  • Contributor breadth0.92
    20 unique contributors in 90 days (full marks at 25); top contributor has 35% of commits; stars count for at most 5% of this signal [health score: no data for backlog pressure; weights renormalized]health

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.

Maintain, review, build and signals

other opportunities that concern this project
  • RFC / designjemalloc4d ago

    Introduction While investigating the scaling of a large multithreaded application running on Linux on an AMD EPYC 9655 processor (96 cores, 192 SMTs), I realised that a measurable drop in performance comes from the increase in TLB shootdowns. Comparing the total throughput of 12 processes (8 cores each, one per CCD/L3 cache) with a single process spanning the full CPU, the latter generates about…

    issueupdated 3d ago3 comments
  • RFC / designjemalloc10d ago

    This commit changes the free fast path to extract the size class directly from the pointer, where it is stored in bits masked using Linear Address Masking (LAM). It effectively turns free into a more efficient version of free_sized. As a result, the fast path in free no longer uses an rtree lookup. The main reason for this work is to answer the question: _Why would I want to use LAM in my…

    pull requestupdated 9d ago2 comments