2 ms·
No modern libc uses (or should use) brk() as the heap. Allocate virtual memory using mmap, VirtualAlloc, etc., and manage your set of heaps.
by HexDecOctBin 5mo 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.
- thayne 5mo agoI believe glibc uses both mmap and brk depending on the situation.