bin_at in dlmalloc
- by chunhui
In glibc malloc.c or dlmalloc It said "repositioning tricks"As in blew, and use this trick in bin_at.
bins is a array,the space is allocated when av(struct malloc_state) is allocated.doesn't it? the sizeof(bin[i]) is less then sizeof(struct malloc_chunk*)?
Who can describe this trick for me? I can't understand the bin_at macro.why they get the…