Hacker News new | ask | show | jobs
by HexDecOctBin 26 days ago
No modern libc uses (or should use) brk() as the heap. Allocate virtual memory using mmap, VirtualAlloc, etc., and manage your set of heaps.
1 comments

I believe glibc uses both mmap and brk depending on the situation.