I'm collecting statistics on malloc's behavior when it allocates and free. Since each address for my system is 48bits, I can't 1-1 map that address to a static array(program doesn't load), so I use a hash function since malloc doesn't use the entire 48bit address range. But the problem is I still get hash collision sometimes with my multithreaded program.
What are some other ways I can track current malloc allocations?
1.4m articles
1.4m replys
5 comments
57.0k users