logoalt Hacker News

tialaramextoday at 1:33 AM1 replyview on HN

I think you've got yourself confused. The heap is what malloc is allocating. So it's like you said "Surely this is somewhere in Europe, not France?" or "Surely this is a round shape, not a circle?"


Replies

comextoday at 4:17 AM

Not when we’re talking about a JVM, which has its own heap that does not use malloc.