tcache
Lecture
tcache
Thread Local Caching (tcache) in ptmalloc speeds up repeated (small) allocations in a single thread. It is implemented as a singly-linked list, with each thread having a list header for different-sized allocations:
How did we get here?
Watch the lecture.
Last updated