<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/jemalloc-5-4-released-with-portability-improvements-code-cleanups-we3yqp1om" -->

---
title: Jemalloc 5.4 Released With Portability Improvements,...
description: Jemalloc 5.4 has been released, continuing renewed development momentum following Meta's announcement earlier this year to reinvest in the memory allocator....
canonical: https://daily.dev/posts/jemalloc-5-4-released-with-portability-improvements-code-cleanups-we3yqp1om
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Jemalloc 5.4 Released With Portability Improvements, Code Cleanups | daily.dev
og:description: Jemalloc 5.4 has been released, continuing renewed development momentum following Meta's announcement earlier this year to reinvest in the memory allocator....
og:url: https://daily.dev/posts/jemalloc-5-4-released-with-portability-improvements-code-cleanups-we3yqp1om
og:image: https://api.daily.dev/og/posts/wE3YQp1om.png
og:image:alt: Jemalloc 5.4 Released With Portability Improvements, Code Cleanups
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Jemalloc 5.4 Released With Portability Improvements, Code Cleanups

**[Phoronix](https://daily.dev/sources/phoronix)** · 1 min read · 0 upvotes · 0 comments

## Summary

Jemalloc 5.4 has been released, continuing renewed development momentum following Meta's announcement earlier this year to reinvest in the memory allocator. This release focuses on portability improvements, including a new OS abstraction layer for platform-dependent code covering file/process I/O, time, synchronization, CPU, virtual memory, atfork, error handling, profiling, thread-yield, and configuration access. It also adds EXTENT_ALLOC_FLAG_PINNED for marking non-reclaimable mappings in custom-extent allocation hooks, per-CPU arena selection via thread.arena, GCC 16 warning fixes, and various code cleanups, refactoring, bug fixes, and expanded test coverage.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.phoronix.com/news/Jemalloc-5.4>

## Questions this post answers

### What new features does jemalloc 5.4 add for custom memory allocation?

Jemalloc 5.4 introduces EXTENT_ALLOC_FLAG_PINNED for custom-extent allocation hooks, letting developers mark non-reclaimable mappings, and adds support for per-CPU arena selection via thread.arena. The release also includes an OS abstraction layer covering file/process I/O, time, synchronization, CPU, virtual memory, atfork, error handling, profiling, and thread-yield, along with GCC 16 warning fixes and general code cleanups.

_Teams tuning allocator behavior can follow jemalloc's ongoing changes via daily.dev._

### Why is jemalloc getting renewed development after years of slower activity?

Meta announced a renewed investment into the jemalloc memory allocator earlier in the year, reversing a period of relative stagnation. Jemalloc 5.4 is the first major result of that push, delivering portability work, technical debt cleanup, expanded test coverage, and new allocation features for server, HPC, and desktop use cases.

_Engineers relying on jemalloc for performance-critical services can track its revival on daily.dev._

## Similar posts on daily.dev

- [Meta Renewing Investment Into The jemalloc Memory Allocator](https://daily.dev/posts/meta-renewing-investment-into-the-jemalloc-memory-allocator-ou8az7u8r) · Phoronix · 0 upvotes · 0 comments
- [Who even uses jemalloc in 2026 anyway? \(many major projects\)](https://daily.dev/posts/who-even-uses-jemalloc-in-2026-anyway-many-major-projects--0fzup9zdf) · Lobsters · 0 upvotes · 0 comments
- [Investing in Infrastructure: Meta’s Renewed Commitment to jemalloc](https://daily.dev/posts/investing-in-infrastructure-meta-s-renewed-commitment-to-jemalloc-8kexx6zxb) · Facebook Engineering
 · 0 upvotes · 0 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#linux](https://daily.dev/tags/linux), [#performance](https://daily.dev/tags/performance)

[View this post on daily.dev](https://daily.dev/posts/jemalloc-5-4-released-with-portability-improvements-code-cleanups-we3yqp1om)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Jemalloc 5.4 Released With Portability Improvements, Code Cleanups","url":"https://daily.dev/posts/jemalloc-5-4-released-with-portability-improvements-code-cleanups-we3yqp1om","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/jemalloc-5-4-released-with-portability-improvements-code-cleanups-we3yqp1om"},"datePublished":"2026-09-17T22:43:46.192Z","dateModified":"2026-10-29T02:14:53.742Z","description":"Jemalloc 5.4 has been released, continuing renewed development momentum following Meta's announcement earlier this year to reinvest in the memory allocator....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1369e0ec4462d05e799be48af58851d6?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1369e0ec4462d05e799be48af58851d6?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Phoronix","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Phoronix","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6a26ba379dd64932830aa0c9803dd7ee","url":"https://daily.dev/sources/phoronix"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/jemalloc-5-4-released-with-portability-improvements-code-cleanups-we3yqp1om","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"general-programming,linux,performance","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Phoronix","item":"https://daily.dev/sources/phoronix"},{"@type":"ListItem","position":3,"name":"Jemalloc 5.4 Released With Portability Improvements, Code Cleanups"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/jemalloc-5-4-released-with-portability-improvements-code-cleanups-we3yqp1om#faq","mainEntity":[{"@type":"Question","name":"What new features does jemalloc 5.4 add for custom memory allocation?","acceptedAnswer":{"@type":"Answer","text":"Jemalloc 5.4 introduces EXTENT_ALLOC_FLAG_PINNED for custom-extent allocation hooks, letting developers mark non-reclaimable mappings, and adds support for per-CPU arena selection via thread.arena. The release also includes an OS abstraction layer covering file/process I/O, time, synchronization, CPU, virtual memory, atfork, error handling, profiling, and thread-yield, along with GCC 16 warning fixes and general code cleanups. Teams tuning allocator behavior can follow jemalloc's ongoing changes via daily.dev."}},{"@type":"Question","name":"Why is jemalloc getting renewed development after years of slower activity?","acceptedAnswer":{"@type":"Answer","text":"Meta announced a renewed investment into the jemalloc memory allocator earlier in the year, reversing a period of relative stagnation. Jemalloc 5.4 is the first major result of that push, delivering portability work, technical debt cleanup, expanded test coverage, and new allocation features for server, HPC, and desktop use cases. Engineers relying on jemalloc for performance-critical services can track its revival on daily.dev."}}]}
```

