Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

IIRC jemalloc has per-thread pools & caches which I assume can be accessed locklessly. I don't think the entire thing is lossless, and neither is tcmalloc. And as far as I know these are the only significantly thread-aware allocators (or at least production-ready ones).


glibc has also grown a good thread-aware allocator, though that is more recent than tcmalloc or jemalloc.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: