Visual-C ++ malloc implementation?

I am currently studying the implementation of malloc for my homework.

I know that there are some versions of the malloc implementation, such as ptmalloc used by glibc and jemalloc used by FreeBSD.

I wonder what version of implementation is used by visual C ++? Or did the vC ++ team simply implement their own version?

+3
source share
1 answer

When you call mallocor newin a compiled VC ++ program without writing your own redirector, you find yourself in HeapAlloc, that is, also knwon like NT Heap.

NT Heap Windows. . ; .. , . , NT - . . , . NT . , .

, V++ . , . - " V++".

, , NT . . , .

+5

All Articles