mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-12-03 15:14:27 +00:00
No description
- C 88.9%
- Perl 4.5%
- M4 3%
- Python 1.2%
- Shell 0.9%
- Other 1.5%
arena_bin_reset() drains slabs_nonfull with edata_heap_remove_first() rather than the bin_slabs_nonfull_*() helpers, so the nonfull_slabs counter keeps its old value while curregs and curslabs are zeroed. Destroying an arena that had a slab in slabs_nonfull then trips the debug assertion in ctl_arena_stats_sdmerge() that a destroyed arena has no nonfull slabs, and non-debug builds report a stale stats.arenas.<i>.bins.<j>.nonfull_slabs after arena.<i>.reset. Zero nonfull_slabs together with the other current counters. This is the fix the reporter proposed in the issue. Add a test that leaves a slab in slabs_nonfull, then resets and destroys the arena. Fixes #1811. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .github/workflows | ||
| bin | ||
| build-aux | ||
| doc | ||
| doc_internal | ||
| include | ||
| m4 | ||
| msvc | ||
| scripts | ||
| src | ||
| test | ||
| tools/prof_usdt | ||
| .appveyor.yml | ||
| .autom4te.cfg | ||
| .clang-format | ||
| .git-blame-ignore-revs | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| autogen.sh | ||
| ChangeLog | ||
| config.stamp.in | ||
| configure.ac | ||
| COPYING | ||
| INSTALL.md | ||
| jemalloc.pc.in | ||
| Makefile.in | ||
| README | ||
| run_tests.sh | ||
| TUNING.md | ||
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, and since then it has found its way into numerous applications that rely on its predictable behavior. In 2010 jemalloc development efforts broadened to include developer support features such as heap profiling and extensive monitoring/tuning hooks. Modern jemalloc releases continue to be integrated back into FreeBSD, and therefore versatility remains critical. 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. The COPYING file contains copyright and licensing information. The INSTALL file contains information on how to configure, build, and install jemalloc. The ChangeLog file contains a brief summary of changes for each release. URL: https://jemalloc.net/