fc_malloc
fc_malloc copied to clipboard
I think the merged block should be removed from cache bin if it is in there, or it will be alloc twice, is it right?
https://github.com/bytemaster/fc_malloc/blob/7a56cf9eae24e7f8d6add42417531a8dea18c337/malloc3.cpp#L615
Lucky! it is a double linked list , we can remove it fast. Since the gc thread is single, we can also remove it safely.