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

Glibc’s malloc has its own thread cache, which contains small chunks that can be accessed without locking at all: https://sourceware.org/glibc/wiki/MallocInternals#Thread_Loc.... (Interestingly, this cache used to be so optimized for speed at some point that it made a popular target for attackers, because it lacked many safety checks.)


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

Search: