Java heap space

Posted by java_mouse on Programmers See other posts from Programmers or by java_mouse
Published on 2012-09-18T14:29:13Z Indexed on 2012/09/18 15:53 UTC
Read the original article Hit count: 251

Filed under:
|
|

In Java/JVM, why do we call the memory place where Java creates objects as "Heap"?

Does it use the Heap Data Structure to create/remove/maintain the objects?

As I read in the documentation of Heap data structure, the algorithm compares the objects with existing nodes and places them in such a way that Parent object is "greater" than the children. ( Or "lesser" in case of min heap). So in JVM, how are the objects compared against each other before placing them in the heap?

© Programmers or respective owner

Related posts about java

Related posts about jvm