jemalloc 源码分析:https://youjiali1995.github.io/allocator/jemalloc/
jemalloc 官网:https://jemalloc.net/
git 地址:https://github.com/jemalloc/jemalloc
官方文档:http://jemalloc.net/jemalloc.3.html#opt.zero_realloc
其他文档:
1 2 3 4 5 6 7 8 9 10 11 12
| https://programs.wiki/wiki/using-jemalloc-profile-memory.html heap profiling: https://www.yuanguohuo.com/2019/01/02/jemalloc-heap-profiling/ 堆占用剖析-内部实现:https://tinylab.org/the-builtin-heap-profiling-of-jemalloc/ C语言内存分配函数:http://lanhin.xyz/2015/03/29/c-%E8%AF%AD%E8%A8%80%E5%86%85%E5%AD%98%E5%88%86%E9%85%8D%E5%87%BD%E6%95%B0/ jemalloc 执行流程:https://github.com/leebaok/jemalloc-4.2.1-readcode/blob/readcode/readcode/malloc.md jemalloc 内存管理:https://www.cnblogs.com/gaoxing/p/4253833.html
brk 和 sbrk 的使用方法:https://blog.csdn.net/yusiguyuan/article/details/39496263 关于 malloc(0) 的返回值问题:https://www.cnblogs.com/xiaowenhu/p/3222709.html
技术文章摘抄:https://learn.lianglianglee.com/ jemalloc 基本原理:https://learn.lianglianglee.com/%E4%B8%93%E6%A0%8F/Netty%20%E6%A0%B8%E5%BF%83%E5%8E%9F%E7%90%86%E5%89%96%E6%9E%90%E4%B8%8E%20RPC%20%E5%AE%9E%E8%B7%B5-%E5%AE%8C/12%20%20%E4%BB%96%E5%B1%B1%E4%B9%8B%E7%9F%B3%EF%BC%9A%E9%AB%98%E6%80%A7%E8%83%BD%E5%86%85%E5%AD%98%E5%88%86%E9%85%8D%E5%99%A8%20jemalloc%20%E5%9F%BA%E6%9C%AC%E5%8E%9F%E7%90%86.md
|
ptmalloc、jemalloc、tcmalloc 的对比分析:https://www.cyningsun.com/07-07-2018/memory-allocator-contrasts.html#%E7%B3%BB%E7%BB%9F%E5%90%91%E7%9C%8Bjemalloc%E5%86%85%E5%AD%98%E7%AE%A1%E7%90%86
堆内存分配流程:https://www.sec4.fun/2020/05/25/heapOverflow2/
gperftools 的 heap profile 堆状态分析:https://cloud.tencent.com/developer/article/1383793
对JasonEvans发表的内存分配器jemalloc论文翻译:https://blog.csdn.net/stillingpb/article/details/50937366
原理剖析:https://github.com/leebaok/jemalloc-4.2.1-readcode/blob/readcode/readcode/free.md