Multithreaded Memory Allocators for C/C++

后端 未结 8 1888
挽巷
挽巷 2020-11-29 18:55

I currently have heavily multi-threaded server application, and I\'m shopping around for a good multi-threaded memory allocator.

So far I\'m torn between:

8条回答
  •  情书的邮戳
    2020-11-29 19:30

    I personally prefer and recommend ptmalloc as a multithreaded allocator. Hoard is good, but in the evaluation my team did between Hoard and ptmalloc a few years ago, ptmalloc was better. From what I know, ptmalloc has been around for a number of years and is quite widely used as a multithreaded allocator.

    You might find this comparison useful.

提交回复
热议问题