Tcmalloc
Tcmalloc (Chrome Allocator)¶
- Used in chrome's linux version as of December 2015
- Used in glibc 2.26+
- Uses tcache to store freed blocks
- Stores the freed blocks per thread.
- Uses singly linked lists in the fd of the chunk
Chrome Heap
TODO:
Differences:
- Thread local storage caching
- Singly linked list in chunk's fd (sim. to FastBins)
- All sizes
- Major performance enhancement
- Not even trying to be secured :/