tedu
69d8bb8294
a small tweak to improve malloc in multithreaded programs. we don't need
to hold the malloc lock across mmap syscalls in all cases. dropping it allows another thread to access the existing chunk cache if necessary. could be improved to be a bit more aggressive, but i've been testing this simple diff for some time now with good results. |
10 years ago | |
---|---|---|
src | a small tweak to improve malloc in multithreaded programs. we don't need | 10 years ago |